summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-02-07 17:03:23 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-02-07 17:03:23 +0000
commit092d355c3447a3c46d21bb7dbdf3f726ab27ec1d (patch)
tree05d91f6e82624c5bf5bb4dadfc2b290166be0a8d /apps/settings.c
parent3e16c9eb25d9396370a1fd52629793faae7961a0 (diff)
downloadrockbox-092d355c3447a3c46d21bb7dbdf3f726ab27ec1d.zip
rockbox-092d355c3447a3c46d21bb7dbdf3f726ab27ec1d.tar.gz
rockbox-092d355c3447a3c46d21bb7dbdf3f726ab27ec1d.tar.bz2
rockbox-092d355c3447a3c46d21bb7dbdf3f726ab27ec1d.tar.xz
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
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 6af8a87..2cdab77 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 **/