forked from enlightenment/enlightenment
bugfix: check notification icon size correctly
CID 1039875
This commit is contained in:
parent
861db30df2
commit
ed50455cde
|
@ -338,13 +338,18 @@ _notification_popup_refresh(Popup_Data *popup)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
endptr++;
|
if (!endptr[0])
|
||||||
if (endptr)
|
height = width;
|
||||||
|
else
|
||||||
{
|
{
|
||||||
height = strtol(endptr, NULL, 10);
|
endptr++;
|
||||||
if (errno || (height < 1)) height = 80;
|
if (endptr[0])
|
||||||
|
{
|
||||||
|
height = strtol(endptr, NULL, 10);
|
||||||
|
if (errno || (height < 1)) height = width;
|
||||||
|
}
|
||||||
|
else height = width;
|
||||||
}
|
}
|
||||||
else height = 80;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue