7967d05915
When an imagebox was drawn with width or height zero, it tried to calculate the needed scale factor for making the image fit. Sadly, this would be a division by zero aka infinite in this case. Fix this by just not drawing anything if there is no space available. Signed-off-by: Uli Schlachter <psychon@znc.in> |
||
---|---|---|
.. | ||
awful | ||
gears | ||
menubar | ||
wibox | ||
beautiful.lua.in | ||
naughty.lua.in |