projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20031213-1-src
[rocksndiamonds.git]
/
src
/
files.c
diff --git
a/src/files.c
b/src/files.c
index b7d62ce76da659b01723a6b5ae4397b95566d63c..e064ee6d93fc0ac598c77695daf2f4d89429d061 100644
(file)
--- a/
src/files.c
+++ b/
src/files.c
@@
-2916,7
+2916,7
@@
static struct MusicFileInfo *get_music_file_info_ext(char *basename, int music,
char *value = getHashEntry(setup_file_hash, token_to_value_ptr[i].token);
*token_to_value_ptr[i].value_ptr =
char *value = getHashEntry(setup_file_hash, token_to_value_ptr[i].token);
*token_to_value_ptr[i].value_ptr =
- getStringCopy(value != NULL ? value : UNKNOWN_NAME);
+ getStringCopy(value != NULL
&& *value != '\0'
? value : UNKNOWN_NAME);
}
tmp_music_file_info.basename = basename;
}
tmp_music_file_info.basename = basename;