[Commits] [wesnoth/wesnoth] e5d85d: fix bug #23027 (wesnoth dofile)

GitHub noreply at github.com
Fri Dec 5 20:04:04 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: e5d85d219269d2dedc759a729e31b8c8ff959c69
      https://github.com/wesnoth/wesnoth/commit/e5d85d219269d2dedc759a729e31b8c8ff959c69
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-05 (Fri, 05 Dec 2014)

  Changed paths:
    M src/scripting/lua_fileops.cpp

  Log Message:
  -----------
  fix bug #23027 (wesnoth dofile)

The bug is fixed by making lua_fileops::load_file consume its
stack argument. That function is also changed so that it takes
its argument from the top of the stack instead of the bottom, which
is a bit more normal.





More information about the Commits mailing list