Treat empty id3 strings as non-existing

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3405 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2003-03-10 14:02:52 +00:00
parent 6365f2a558
commit 7ebebafe0e

View file

@ -613,7 +613,7 @@ static void format_display(char* buf,
fmt++;
/* No value, so skip to else part */
if (NULL == value)
if ((!value) || (!strlen(value)))
fmt = skip_conditional(fmt, true);
level++;