diff options
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/gui/gwps-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index c4b0be1..da70f0e 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c @@ -355,7 +355,7 @@ bool gui_wps_update(struct gui_wps *gwps) { struct mp3entry *id3 = gwps->state->id3; bool retval; - bool cuesheet_update = cuesheet_subtrack_changed(id3); + bool cuesheet_update = (id3 != NULL ? cuesheet_subtrack_changed(id3) : false); gwps->state->do_full_update = cuesheet_update || gwps->state->do_full_update; retval = gui_wps_redraw(gwps, 0, gwps->state->do_full_update ? |