summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/gwps.c4
-rw-r--r--apps/gui/gwps.h3
2 files changed, 0 insertions, 7 deletions
diff --git a/apps/gui/gwps.c b/apps/gui/gwps.c
index dd8978c8bb..6c387ef62e 100644
--- a/apps/gui/gwps.c
+++ b/apps/gui/gwps.c
@@ -688,10 +688,6 @@ long gui_wps_show(void)
688 } 688 }
689 689
690 if (exit) { 690 if (exit) {
691 if (wps_state.id3)
692 strcpy(wps_state.current_track_path, wps_state.id3->path);
693 else
694 wps_state.current_track_path[0] = '\0';
695#ifdef HAVE_LCD_CHARCELLS 691#ifdef HAVE_LCD_CHARCELLS
696 status_set_record(false); 692 status_set_record(false);
697 status_set_audio(false); 693 status_set_audio(false);
diff --git a/apps/gui/gwps.h b/apps/gui/gwps.h
index 4193cf8301..3836d9291b 100644
--- a/apps/gui/gwps.h
+++ b/apps/gui/gwps.h
@@ -469,9 +469,6 @@ struct wps_state
469 bool wps_time_countup; 469 bool wps_time_countup;
470 struct mp3entry* id3; 470 struct mp3entry* id3;
471 struct mp3entry* nid3; 471 struct mp3entry* nid3;
472 char current_track_path[MAX_PATH]; /* used by root_menu.c to browse to the
473 current track at the time the audio is
474 stopped (so *id3 is invalid) */
475}; 472};
476 473
477 474