Skip to content

Commit

Permalink
Fix GUI1 help topics not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Apr 21, 2017
1 parent ddd0cb2 commit 7e82878
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/help/help_text_area.cpp
Expand Up @@ -116,8 +116,8 @@ void help_text_area::set_items()
const config& parsed_items = shown_topic_->text.parsed_text();
for(auto& item : parsed_items.all_children_range()) {
#define TRY(name) do { \
if (config &child = item.cfg.child(#name)) \
handle_##name##_cfg(child); \
if (item.key == #name) \
handle_##name##_cfg(item.cfg); \
} while (0)

TRY(text);
Expand Down

0 comments on commit 7e82878

Please sign in to comment.