diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/wps.c | 2 |
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) | |||
224 | char ch = '/'; | 224 | char ch = '/'; |
225 | char* szLast; | 225 | char* szLast; |
226 | 226 | ||
227 | szLast = strrchr(id3->path, ch); | ||
228 | id3 = mpeg_current_track(); | 227 | id3 = mpeg_current_track(); |
228 | szLast = strrchr(id3->path, ch); | ||
229 | snprintf(buffer, sizeof(buffer), ""); | 229 | snprintf(buffer, sizeof(buffer), ""); |
230 | lcd_stop_scroll(); | 230 | lcd_stop_scroll(); |
231 | fd = open("/wps.config", O_RDONLY); | 231 | fd = open("/wps.config", O_RDONLY); |