From 092d355c3447a3c46d21bb7dbdf3f726ab27ec1d Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Wed, 7 Feb 2007 17:03:23 +0000 Subject: [PATCH] Kill the errors for now. Would like to know why resetting in_recording_screen from outside the function should ever be needed. If you're not in the recording screen any more, the function should have exited and reset in_recording_screen to false. If it hasn't actually been reset in that case, the function hasn't return for some reason. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12226 a1c6a512-1295-4272-9138-f99709370657 --- apps/settings.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/settings.c b/apps/settings.c index 6af8a872b4..2cdab771db 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -916,7 +916,9 @@ void settings_reset(void) { #if defined (HAVE_RECORDING) && CONFIG_CODEC == SWCODEC enc_global_settings_reset(); #endif +#ifdef HAVE_RECORDING global_status.in_recording_screen = false; +#endif } /** Changing setting values **/