diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/bookmark.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/bookmark.c b/apps/bookmark.c index 68c10b36e7..0b468bdb76 100644 --- a/apps/bookmark.c +++ b/apps/bookmark.c | |||
@@ -380,7 +380,7 @@ static bool generate_bookmark_file_name(char *filenamebuf, | |||
380 | { | 380 | { |
381 | /* if this is a root dir MP3, rename the bookmark file root_dir.bmark */ | 381 | /* if this is a root dir MP3, rename the bookmark file root_dir.bmark */ |
382 | /* otherwise, name it based on the bmarknamein variable */ | 382 | /* otherwise, name it based on the bmarknamein variable */ |
383 | if (!strcmp("/", bmarknamein)) | 383 | if (!strncmp("/", bmarknamein, bmarknamelen)) |
384 | strmemccpy(filenamebuf, "/root_dir.bmark", filenamebufsz); | 384 | strmemccpy(filenamebuf, "/root_dir.bmark", filenamebufsz); |
385 | else | 385 | else |
386 | { | 386 | { |