diff options
Diffstat (limited to 'apps/bookmark.c')
-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, { /* if this is a root dir MP3, rename the bookmark file root_dir.bmark */ /* otherwise, name it based on the bmarknamein variable */ - if (!strcmp("/", bmarknamein)) + if (!strncmp("/", bmarknamein, bmarknamelen)) strmemccpy(filenamebuf, "/root_dir.bmark", filenamebufsz); else { |