[Commits] [wesnoth/wesnoth] 4b9463: Minor cleanup of GUI2 helper code

GitHub noreply at github.com
Wed May 3 14:25:32 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 4b9463a6ff575acf1689be55f64ff7208be57fb5
      https://github.com/wesnoth/wesnoth/commit/4b9463a6ff575acf1689be55f64ff7208be57fb5
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M src/gui/widgets/helper.cpp
    M src/gui/widgets/helper.hpp

  Log Message:
  -----------
  Minor cleanup of GUI2 helper code


  Commit: c9d484e2c4eabd832ac113aa9c955eae685a8afd
      https://github.com/wesnoth/wesnoth/commit/c9d484e2c4eabd832ac113aa9c955eae685a8afd
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M src/storyscreen/controller.cpp
    M src/storyscreen/controller.hpp
    M src/storyscreen/parser.cpp
    M src/storyscreen/parser.hpp
    M src/storyscreen/part.cpp
    M src/storyscreen/part.hpp

  Log Message:
  -----------
  Storyscreen/Parser: don't keep parsing if special action was already executed

Just realized this was a small regresison in e97b992 , since the entire function wasn't handled by one
large if/else if/else block anymore.


Compare: https://github.com/wesnoth/wesnoth/compare/974315f9b785...c9d484e2c4ea


More information about the Commits mailing list