fix radio screen

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13887 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-07-14 14:58:28 +00:00
parent 4259eb1ed9
commit b41cde58bf

View file

@ -1988,7 +1988,8 @@ static int radio_callback(int btn, struct gui_synclist *lists)
(unsigned)info.write_regs[2], (unsigned)info.write_regs[3],
(unsigned)info.write_regs[4]);
#endif
gui_synclist_draw(lists);
if (lists)
gui_synclist_draw(lists);
}
else
snprintf(debug_list_messages[radio_lines++], DEBUG_MSG_LEN, "HW detected: no");