summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/gui/list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c
index 3627f12221..332459c57f 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -73,7 +73,7 @@ static void list_init_viewports(struct gui_synclist *list)
73 list->parent[i] = &vp[i]; 73 list->parent[i] = &vp[i];
74 } 74 }
75#ifdef HAVE_BUTTONBAR 75#ifdef HAVE_BUTTONBAR
76 if (list && !parent_used[SCREEN_MAIN] && global_settings.buttonbar) 76 if (list && !parent_used && global_settings.buttonbar)
77 list->parent[0]->height -= BUTTONBAR_HEIGHT; 77 list->parent[0]->height -= BUTTONBAR_HEIGHT;
78#endif 78#endif
79} 79}