Force integer comparison
This commit is contained in:
parent
c3c312ed9b
commit
656bc8e522
|
@ -204,7 +204,7 @@ calcWidthDialog() {
|
||||||
((count++))
|
((count++))
|
||||||
done < <(echo -ne "$1")
|
done < <(echo -ne "$1")
|
||||||
[ $option -ge "$count" ] && count=option
|
[ $option -ge "$count" ] && count=option
|
||||||
[ $count -gt 60 ] && echo 60 || echo $((count+4))
|
[ $((count)) -gt 60 ] && echo 60 || echo $((count+4))
|
||||||
}
|
}
|
||||||
|
|
||||||
calcHeight() {
|
calcHeight() {
|
||||||
|
|
Loading…
Reference in New Issue