NULL check so it doesnt display (null) on the comment line
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24744 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c647e62c30
commit
55b21c104f
1 changed files with 2 additions and 0 deletions
|
@ -691,6 +691,8 @@ static const char* id3_get_info(int selected_item, void* data,
|
|||
}
|
||||
break;
|
||||
case 7:/*LANG_ID3_COMMENT*/
|
||||
if (!id3->comment)
|
||||
return NULL;
|
||||
snprintf(buffer, buffer_len, "%s", id3->comment);
|
||||
val=buffer;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue