settings: Fix up the remaining stragglers from 8cc3266b

Change-Id: I20e98d1e7cf13a59194f62935a8f46e96f83a1f9
This commit is contained in:
Solomon Peachy 2023-09-22 10:30:25 -04:00
parent 8cc3266b2a
commit 74ded2bdd7
2 changed files with 7 additions and 7 deletions

View file

@ -515,7 +515,7 @@ static bool history_interval(void)
return set_option(str(LANG_HISTOGRAM_INTERVAL),
&global_settings.histogram_interval,
INT, names, 4, NULL );
RB_INT, names, 4, NULL );
}
MENUITEM_FUNCTION(histogram, 0, ID2P(LANG_HISTOGRAM_INTERVAL),

View file

@ -329,11 +329,11 @@ static int agc_preset_func(void)
if (global_settings.rec_source)
return set_option(str(LANG_RECORDING_AGC_PRESET),
&global_settings.rec_agc_preset_line,
INT, names, 6, NULL );
RB_INT, names, 6, NULL );
else
return set_option(str(LANG_RECORDING_AGC_PRESET),
&global_settings.rec_agc_preset_mic,
INT, names, 6, NULL );
RB_INT, names, 6, NULL );
}
static int agc_cliptime_func(void)
@ -347,7 +347,7 @@ static int agc_cliptime_func(void)
};
return set_option(str(LANG_RECORDING_AGC_CLIPTIME),
&global_settings.rec_agc_cliptime,
INT, names, 5, NULL );
RB_INT, names, 5, NULL );
}
MENUITEM_FUNCTION(agc_preset, 0, ID2P(LANG_RECORDING_AGC_PRESET),
agc_preset_func, NULL, Icon_Menu_setting);