diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/gwps-common.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index a90b562c02..f32b002f69 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c | |||
@@ -1880,12 +1880,14 @@ bool gui_wps_redraw(struct gui_wps *gwps, | |||
1880 | struct wps_data *data = gwps->data; | 1880 | struct wps_data *data = gwps->data; |
1881 | struct screen *display = gwps->display; | 1881 | struct screen *display = gwps->display; |
1882 | struct wps_state *state = gwps->state; | 1882 | struct wps_state *state = gwps->state; |
1883 | |||
1884 | if (!data || !state || !display) | ||
1885 | return false; | ||
1886 | |||
1883 | struct mp3entry *id3 = state->id3; | 1887 | struct mp3entry *id3 = state->id3; |
1884 | 1888 | ||
1885 | if(!data || !state || !display || !id3) | 1889 | if (!id3) |
1886 | { | ||
1887 | return false; | 1890 | return false; |
1888 | } | ||
1889 | 1891 | ||
1890 | int v, line, i, subline_idx; | 1892 | int v, line, i, subline_idx; |
1891 | unsigned flags; | 1893 | unsigned flags; |