Tautologic condition in mod-gui.lua
Posted: Thu Nov 09, 2017 11:11 pm
In /data/core/lualib/mod-gui.lua lines 38/39 currently are:
but 38 should be:
Or else mod_gui.make_flow(...) will fail if it is ever called again. Currently it's not called ever again, but it's still technically wrong
.
Code: Select all
local frame_flow = mod_gui_frame_flow
if not frame_flow then
Code: Select all
local frame_flow = mod_flow.mod_gui_frame_flow
if not frame_flow then
