From b41cde58bf0bb74ff7ed1b723d29b7e30a13363a Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sat, 14 Jul 2007 14:58:28 +0000 Subject: [PATCH] fix radio screen git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13887 a1c6a512-1295-4272-9138-f99709370657 --- apps/debug_menu.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 993881937e..3766f7e5db 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -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");