From c647e62c30407485394d8f275f779416501ea179 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Thu, 18 Feb 2010 05:43:51 +0000 Subject: [PATCH] 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 --- apps/screens.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;