summaryrefslogtreecommitdiff
path: root/apps/sound_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/sound_menu.c')
-rw-r--r--apps/sound_menu.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/apps/sound_menu.c b/apps/sound_menu.c
index e80c2c0a3b..da779d9a30 100644
--- a/apps/sound_menu.c
+++ b/apps/sound_menu.c
@@ -520,13 +520,17 @@ static bool recprerecord(void)
520 520
521static bool recdirectory(void) 521static bool recdirectory(void)
522{ 522{
523 bool ret;
523 static const struct opt_items names[] = { 524 static const struct opt_items names[] = {
524 { rec_base_directory, -1 }, 525 { rec_base_directory, -1 },
525 { STR(LANG_RECORD_CURRENT_DIR) } 526 { STR(LANG_RECORD_CURRENT_DIR) }
526 }; 527 };
527 return set_option(str(LANG_RECORD_DIRECTORY), 528 ret = set_option(str(LANG_RECORD_DIRECTORY),
528 &global_settings.rec_directory, INT, 529 &global_settings.rec_directory, INT,
529 names, 2, NULL ); 530 names, 2, NULL );
531 set_recpath();
532
533 return ret;
530} 534}
531 535
532static bool reconstartup(void) 536static bool reconstartup(void)