# | Line 668 | Line 668 | COLR *scan; | |
---|---|---|
668 | } else if (xmax > ymax) { | |
669 | iconwidth = ICONSIZ; | |
670 | iconheight = ICONSIZ*ymax/xmax; | |
671 | + | if (iconheight < 1) |
672 | + | iconheight = 1; |
673 | } else { | |
674 | iconwidth = ICONSIZ*xmax/ymax; | |
675 | + | if (iconwidth < 1) |
676 | + | iconwidth = 1; |
677 | iconheight = ICONSIZ; | |
678 | } | |
679 | ynext = 0; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |