cedric pushed a commit to branch enlightenment-0.17. http://git.enlightenment.org/core/enlightenment.git/commit/?id=4b9244e656d5ed323a2bcb11a4f92c984b9bb08c
commit 4b9244e656d5ed323a2bcb11a4f92c984b9bb08c Author: Mike Blumenkrantz <zm...@samsung.com> Date: Fri Apr 4 14:42:24 2014 -0400 bugfix: check notification icon size correctly CID 1039875 --- src/modules/notification/e_mod_popup.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/modules/notification/e_mod_popup.c b/src/modules/notification/e_mod_popup.c index fd55cfe..2f5da99 100644 --- a/src/modules/notification/e_mod_popup.c +++ b/src/modules/notification/e_mod_popup.c @@ -414,13 +414,18 @@ _notification_popup_refresh(Popup_Data *popup) } else { - endptr++; - if (endptr) + if (!endptr[0]) + height = width; + else { - height = strtol(endptr, NULL, 10); - if (errno || (height < 1)) height = 80; + endptr++; + if (endptr[0]) + { + height = strtol(endptr, NULL, 10); + if (errno || (height < 1)) height = width; + } + else height = width; } - else height = 80; } } --