mirror of https://github.com/koreader/koreader
Screensaver: Unbreak screensaver_stretch_images (#7403)
* Screensaver: Unbreak screensaver_stretch_images We don't have real ternary operators in Lua, if the second argument evaluates to false, it doesn't work. Invert the test to avoid this pitfall. (c.f., http://lua-users.org/wiki/TernaryOperator). Fix #7402, regression since #7371 * Free a few similar constructs (incidentally, some of 'em also tweaked in #7371 ^^).reviewable/pr7404/r1
parent
0674e6060a
commit
601d2fc3d2
Loading…
Reference in New Issue