2
0
mirror of https://github.com/koreader/koreader synced 2024-11-13 19:11:25 +00:00
koreader/plugins/kosync.koplugin
NiLuJe 601d2fc3d2
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 ^^).
2021-03-10 02:14:26 +01:00
..
_meta.lua [Fix] Don't load disabled plugins (#4169) 2018-08-18 20:41:37 +02:00
api.json [fix] KOSync plugin server location (#3288) 2017-10-02 09:51:34 +02:00
KOSyncClient.lua Revert "Kosync network callback (#6489)" (#6535) 2020-08-20 13:11:02 +02:00
main.lua Screensaver: Unbreak screensaver_stretch_images (#7403) 2021-03-10 02:14:26 +01:00