dont scale images to 0 px wide or tall
Dana Jansens danakj@orodu.net
1 files changed,
3 insertions(+),
0 deletions(-)
jump to
M
render/image.c
→
render/image.c
@@ -139,6 +139,9 @@ dh = area->height;
dw = (gint)(dh * ((gdouble)sw / sh)); } + if (!(dw && dh)) + return; /* XXX sanity check */ + if (sw != dw || sh != dh) { /*if (!(rgba->cache && dw == rgba->cwidth && dh == rgba->cheight))*/ { g_free(rgba->cache);