Image: [catimg] Fix math order

This commit is contained in:
Dylan Araps 2017-01-15 08:57:40 +11:00
parent f052c6ad9d
commit 4d00a4dac1
1 changed files with 1 additions and 1 deletions

View File

@ -2346,7 +2346,7 @@ display_image() {
;;
"catimg")
catimg -w "$((width / font_width * 2))" -r 0 "$image" || to_off "Image: catimg failed to display the image."
catimg -w "$((width * 2 / font_width))" -r 0 "$image" || to_off "Image: catimg failed to display the image."
zws=
;;