Force integer comparison

This commit is contained in:
Santiago Lo Coco 2022-02-01 15:11:35 -03:00
parent c3c312ed9b
commit 656bc8e522
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ calcWidthDialog() {
((count++))
done < <(echo -ne "$1")
[ $option -ge "$count" ] && count=option
[ $count -gt 60 ] && echo 60 || echo $((count+4))
[ $((count)) -gt 60 ] && echo 60 || echo $((count+4))
}
calcHeight() {