From 9270ada23aed7222fa4468bdef8ff128db06f341 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 29 Apr 2007 13:33:15 +0000 Subject: [PATCH] keep some #if 0'ed code in sync git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13283 a1c6a512-1295-4272-9138-f99709370657 --- apps/enc_config.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/apps/enc_config.c b/apps/enc_config.c index 009c70c370..864492669e 100644 --- a/apps/enc_config.c +++ b/apps/enc_config.c @@ -380,7 +380,15 @@ bool enc_config_menu(struct encoder_config *cfg) { if (!rec_format_ok(cfg->rec_format)) return false; - return enc_data[cfg->rec_format].menu(cfg, false); + if (enc_data[cfg->rec_format].menu) + { + return enc_data[cfg->rec_format].menu(cfg, false); + } + else + { + gui_syncsplash(HZ, str(LANG_NO_SETTINGS)); + return false; + } } /* enc_config_menu */ #endif