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, 1 insertions, 5 deletions
diff --git a/apps/sound_menu.c b/apps/sound_menu.c
index da779d9a30..e80c2c0a3b 100644
--- a/apps/sound_menu.c
+++ b/apps/sound_menu.c
@@ -520,17 +520,13 @@ static bool recprerecord(void)
520 520
521static bool recdirectory(void) 521static bool recdirectory(void)
522{ 522{
523 bool ret;
524 static const struct opt_items names[] = { 523 static const struct opt_items names[] = {
525 { rec_base_directory, -1 }, 524 { rec_base_directory, -1 },
526 { STR(LANG_RECORD_CURRENT_DIR) } 525 { STR(LANG_RECORD_CURRENT_DIR) }
527 }; 526 };
528 ret = set_option(str(LANG_RECORD_DIRECTORY), 527 return set_option(str(LANG_RECORD_DIRECTORY),
529 &global_settings.rec_directory, INT, 528 &global_settings.rec_directory, INT,
530 names, 2, NULL ); 529 names, 2, NULL );
531 set_recpath();
532
533 return ret;
534} 530}
535 531
536static bool reconstartup(void) 532static bool reconstartup(void)