diff options
Diffstat (limited to 'apps/gui/list.c')
-rw-r--r-- | apps/gui/list.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c index ba25efdb44..a3df4a2f2c 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c | |||
@@ -79,7 +79,7 @@ void list_init_viewports(struct gui_synclist *list) | |||
79 | list->parent[i]->height = screens[i].height - list->parent[i]->y; | 79 | list->parent[i]->height = screens[i].height - list->parent[i]->y; |
80 | } | 80 | } |
81 | } | 81 | } |
82 | #ifdef HAS_BUTTONBAR | 82 | #ifdef HAVE_BUTTONBAR |
83 | if (list && (list->parent[0] == &parent[0]) && global_settings.buttonbar) | 83 | if (list && (list->parent[0] == &parent[0]) && global_settings.buttonbar) |
84 | list->parent[0]->height -= BUTTONBAR_HEIGHT; | 84 | list->parent[0]->height -= BUTTONBAR_HEIGHT; |
85 | #endif | 85 | #endif |
@@ -218,11 +218,11 @@ void gui_synclist_draw(struct gui_synclist *gui_list) | |||
218 | int i; | 218 | int i; |
219 | static struct gui_synclist *last_list = NULL; | 219 | static struct gui_synclist *last_list = NULL; |
220 | static int last_count = -1; | 220 | static int last_count = -1; |
221 | #ifdef HAS_BUTTONBAR | 221 | #ifdef HAVE_BUTTONBAR |
222 | static bool last_buttonbar = false; | 222 | static bool last_buttonbar = false; |
223 | #endif | 223 | #endif |
224 | if (force_list_reinit || | 224 | if (force_list_reinit || |
225 | #ifdef HAS_BUTTONBAR | 225 | #ifdef HAVE_BUTTONBAR |
226 | last_buttonbar != screens[SCREEN_MAIN].has_buttonbar || | 226 | last_buttonbar != screens[SCREEN_MAIN].has_buttonbar || |
227 | #endif | 227 | #endif |
228 | last_list != gui_list || | 228 | last_list != gui_list || |
@@ -231,7 +231,7 @@ void gui_synclist_draw(struct gui_synclist *gui_list) | |||
231 | list_init_viewports(gui_list); | 231 | list_init_viewports(gui_list); |
232 | force_list_reinit = false; | 232 | force_list_reinit = false; |
233 | } | 233 | } |
234 | #ifdef HAS_BUTTONBAR | 234 | #ifdef HAVE_BUTTONBAR |
235 | last_buttonbar = screens[SCREEN_MAIN].has_buttonbar; | 235 | last_buttonbar = screens[SCREEN_MAIN].has_buttonbar; |
236 | #endif | 236 | #endif |
237 | last_count = gui_list->nb_items; | 237 | last_count = gui_list->nb_items; |