diff options
-rw-r--r-- | apps/gui/bitmap/list-skinned.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/gui/bitmap/list-skinned.c b/apps/gui/bitmap/list-skinned.c index c5429738ed..a67ac8cb0a 100644 --- a/apps/gui/bitmap/list-skinned.c +++ b/apps/gui/bitmap/list-skinned.c | |||
@@ -197,6 +197,9 @@ bool skinlist_draw(struct screen *display, struct gui_synclist *list) | |||
197 | wps.data = listcfg[screen]->data; | 197 | wps.data = listcfg[screen]->data; |
198 | display_lines = skinlist_get_line_count(screen, list); | 198 | display_lines = skinlist_get_line_count(screen, list); |
199 | label = (char *)SKINOFFSETTOPTR(get_skin_buffer(wps.data), listcfg[screen]->label); | 199 | label = (char *)SKINOFFSETTOPTR(get_skin_buffer(wps.data), listcfg[screen]->label); |
200 | if (!label) | ||
201 | return false; | ||
202 | |||
200 | display->set_viewport(parent); | 203 | display->set_viewport(parent); |
201 | display->clear_viewport(); | 204 | display->clear_viewport(); |
202 | current_item = list->selected_item; | 205 | current_item = list->selected_item; |