bandaid fix for FS#11033 where a really long comment crashes. Real fix is figuring out why the scroll engine doesnt handle this properly (I give up though)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24743 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2010-02-18 05:43:51 +00:00
parent aea6dd036c
commit c647e62c30

View file

@ -691,7 +691,8 @@ static const char* id3_get_info(int selected_item, void* data,
}
break;
case 7:/*LANG_ID3_COMMENT*/
val=id3->comment;
snprintf(buffer, buffer_len, "%s", id3->comment);
val=buffer;
break;
case 8:/*LANG_ID3_GENRE*/
val = id3->genre_string;