[Commits] [wesnoth/wesnoth] 42cb55: Revert an unnecessary part of 7d2d100
GitHub
noreply at github.com
Sat Apr 22 03:13:35 UTC 2017
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 42cb55fa24ca79b43d3a5fc7f29841fce77eea34
https://github.com/wesnoth/wesnoth/commit/42cb55fa24ca79b43d3a5fc7f29841fce77eea34
Author: Charles Dang <exodia339 at gmail.com>
Date: 2017-04-22 (Sat, 22 Apr 2017)
Changed paths:
M src/controller_base.cpp
M src/controller_base.hpp
M src/display.cpp
M src/editor/controller/editor_controller.cpp
M src/editor/controller/editor_controller.hpp
M src/editor/toolkit/editor_toolkit.cpp
M src/hotkey/command_executor.cpp
M src/theme.cpp
M src/theme.hpp
Log Message:
-----------
Revert an unnecessary part of 7d2d100
I realized the the theme menu class doesn't contain the *parsed* data - which should indeed be in a config -
it only contains the *ids* of the menu's contents. Therefor, there's no need to store the list of ids in a config,
since it would only have one entry. A string is therefor sufficient.
To enable the input and output vectors being different types, I cleaned up the output initialization loop in
controller_base::show_menu
More information about the Commits
mailing list