discomfitor pushed a commit to branch enlightenment-0.18. http://git.enlightenment.org/core/enlightenment.git/commit/?id=da295af384aefe81a8295e35fea68d25f928bc52
commit da295af384aefe81a8295e35fea68d25f928bc52 Author: Mike Blumenkrantz <[email protected]> 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 b78edd2..63eb703 100644 --- a/src/modules/notification/e_mod_popup.c +++ b/src/modules/notification/e_mod_popup.c @@ -337,13 +337,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; } } --
