Page 1 of 1

Tautologic condition in mod-gui.lua

Posted: Thu Nov 09, 2017 11:11 pm
by eradicator
In /data/core/lualib/mod-gui.lua lines 38/39 currently are:

Code: Select all

  local frame_flow = mod_gui_frame_flow
  if not frame_flow then
but 38 should be:

Code: Select all

  local frame_flow = mod_flow.mod_gui_frame_flow
  if not frame_flow then
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 :P.

Re: Tautologic condition in mod-gui.lua

Posted: Thu Nov 09, 2017 11:31 pm
by Klonan
The script has already been updated for 0.16, and this bug report is already fixed