keep some #if 0'ed code in sync

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13283 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-04-29 13:33:15 +00:00
parent caea20e75f
commit 9270ada23a

View file

@ -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