summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/wps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/wps.c b/apps/wps.c
index c970f6ee76..225908850f 100644
--- a/apps/wps.c
+++ b/apps/wps.c
@@ -224,8 +224,8 @@ int wps_load_custom_config(void)
char ch = '/';
char* szLast;
- szLast = strrchr(id3->path, ch);
id3 = mpeg_current_track();
+ szLast = strrchr(id3->path, ch);
snprintf(buffer, sizeof(buffer), "");
lcd_stop_scroll();
fd = open("/wps.config", O_RDONLY);