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
This commit is contained in:
Peter D'Hoye 2008-02-10 18:28:59 +00:00
parent ee09cb7f0d
commit 80ad459c33

View file

@ -1051,6 +1051,7 @@ static bool set_recdir(void)
{ {
strncpy(global_settings.rec_directory, strncpy(global_settings.rec_directory,
selected_file, MAX_FILENAME+1); selected_file, MAX_FILENAME+1);
settings_save();
return false; return false;
} }
MENUITEM_FUNCTION(set_recdir_item, 0, ID2P(LANG_SET_AS_REC_DIR), MENUITEM_FUNCTION(set_recdir_item, 0, ID2P(LANG_SET_AS_REC_DIR),