Image: [catimg] Fix math order
This commit is contained in:
@@ -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=
|
||||
;;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user