diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2010-02-18 05:43:51 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2010-02-18 05:43:51 +0000 |
commit | c647e62c30407485394d8f275f779416501ea179 (patch) | |
tree | 109806c86721131fa2c7cf4e745649cd4376585f | |
parent | aea6dd036c82a2819e9e6a9888456b3742b0c67e (diff) |
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
-rw-r--r-- | apps/screens.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/screens.c b/apps/screens.c index 2e7dbd84ed..08bca889d0 100644 --- a/apps/screens.c +++ b/apps/screens.c @@ -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; |