aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-icon-stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-icon-stream.c')
-rw-r--r--mail/em-icon-stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-icon-stream.c b/mail/em-icon-stream.c
index b9079e8c02..3c975ffaef 100644
--- a/mail/em-icon-stream.c
+++ b/mail/em-icon-stream.c
@@ -285,7 +285,7 @@ em_icon_stream_get_image(const char *key, unsigned int maxwidth, unsigned int ma
unsigned int scale;
char *realkey;
- if (width >= height)
+ if (maxheight == 0 || width >= height)
scale = width * EMIS_SCALE / maxwidth;
else
scale = height * EMIS_SCALE / maxheight;
t.cgi/freebsd-ports-gnome/log/security/py-potr?h=gnome-3.24&id=a6089ce5ef0728935580bb050185f4e400907c06&showmsg=1'>Expand)AuthorAgeFilesLines * - Convert ports of science/ and security to new USES=pythonmva2014-10-251-3/+2 * - do not use easy_install, convert to auto-generated packing listrm2014-02-103-48/+3