diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/playlist.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/playlist.c b/apps/playlist.c index bd5c2b2053..c7d1505ae3 100644 --- a/apps/playlist.c +++ b/apps/playlist.c | |||
@@ -58,6 +58,11 @@ char* playlist_next(int steps) | |||
58 | (seek < max)) | 58 | (seek < max)) |
59 | seek++; | 59 | seek++; |
60 | 60 | ||
61 | /* Now work back killing white space */ | ||
62 | while((now_playing[seek-1] == ' ') || | ||
63 | (now_playing[seek-1] == '\t')) | ||
64 | seek--; | ||
65 | |||
61 | now_playing[seek]=0; | 66 | now_playing[seek]=0; |
62 | 67 | ||
63 | /* replace backslashes with forward slashes */ | 68 | /* replace backslashes with forward slashes */ |
@@ -243,3 +248,12 @@ void randomise_playlist( playlist_info_t *playlist, unsigned int seed ) | |||
243 | * eval: (load-file "../firmware/rockbox-mode.el") | 248 | * eval: (load-file "../firmware/rockbox-mode.el") |
244 | * end: | 249 | * end: |
245 | */ | 250 | */ |
251 | |||
252 | |||
253 | |||
254 | |||
255 | |||
256 | |||
257 | |||
258 | |||
259 | |||