diff options
Diffstat (limited to 'src/gui/gui-window.c')
-rw-r--r-- | src/gui/gui-window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/gui-window.c b/src/gui/gui-window.c index 3a9dd99a5..09b84f2f2 100644 --- a/src/gui/gui-window.c +++ b/src/gui/gui-window.c @@ -273,7 +273,7 @@ gui_window_new (struct t_gui_window *parent, int x, int y, int width, int height /* create bar windows */ for (ptr_bar = gui_bars; ptr_bar; ptr_bar = ptr_bar->next_bar) { - if (ptr_bar->type != GUI_BAR_TYPE_ROOT) + if (CONFIG_INTEGER(ptr_bar->type) != GUI_BAR_TYPE_ROOT) gui_bar_window_new (ptr_bar, new_window); } } |