fixed compiler error

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1914 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2002-08-22 05:30:07 +00:00
parent 70a203341f
commit 11714aceab

View file

@ -285,8 +285,8 @@ int wps_load_custom_config(void)
case 'h': /* Conditional Filename \ ID3 Title-Artist */
if(id3->artist && id3->title)
snprintf(tmpbuf, sizeof(tmpbuf), "%s - %s",
id3->title?id3->title:"<no title>");
id3->artist?id3->artist:"<no artist>",
id3->title?id3->title:"<no title>",
id3->artist?id3->artist:"<no artist>");
else
snprintf(tmpbuf, sizeof(tmpbuf), "%s",
szLast?++szLast:id3->path);