Skip to content

Commit

Permalink
fix a segfault, reported #23243
Browse files Browse the repository at this point in the history
Conflicts:
	src/hotkey/command_executor.cpp
  • Loading branch information
cbeck88 committed Apr 6, 2015
1 parent 03ca1a6 commit 50dacfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotkey/command_executor.cpp
Expand Up @@ -292,7 +292,7 @@ void command_executor::set_button_state(display& disp) {
BOOST_FOREACH(const theme::action& action, disp.get_theme().actions()) {

gui::button* button = disp.find_action_button(action.get_id());
assert(button);
if (!button) continue;
bool enabled = false;
int i = 0;
BOOST_FOREACH(const std::string& command, action.items()) {
Expand Down

0 comments on commit 50dacfc

Please sign in to comment.