summaryrefslogtreecommitdiff
path: root/apps/onplay.c
diff options
context:
space:
mode:
authorPeter D'Hoye <peter.dhoye@gmail.com>2008-02-10 18:28:59 +0000
committerPeter D'Hoye <peter.dhoye@gmail.com>2008-02-10 18:28:59 +0000
commit80ad459c336c30387c7d898a92da2d19e4a8e9a5 (patch)
tree503991906fbf2ffb9f6c6347ed46d0a8060af33d /apps/onplay.c
parentee09cb7f0d2635db0f01da1fb9a20dac07f357c9 (diff)
Accept FS #8570 by Thomas Martitz: recording dir location was not saved when set via context menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16275 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/onplay.c')
-rw-r--r--apps/onplay.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/onplay.c b/apps/onplay.c
index 1b52d8bce5..70b89d3b6c 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -1051,6 +1051,7 @@ static bool set_recdir(void)
{
strncpy(global_settings.rec_directory,
selected_file, MAX_FILENAME+1);
+ settings_save();
return false;
}
MENUITEM_FUNCTION(set_recdir_item, 0, ID2P(LANG_SET_AS_REC_DIR),