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 3627f12..332459c 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -73,7 +73,7 @@ static void list_init_viewports(struct gui_synclist *list)
list->parent[i] = &vp[i];
}
#ifdef HAVE_BUTTONBAR
- if (list && !parent_used[SCREEN_MAIN] && global_settings.buttonbar)
+ if (list && !parent_used && global_settings.buttonbar)
list->parent[0]->height -= BUTTONBAR_HEIGHT;
#endif
}