From cb3c564822e091325ff8799551640878faa3c597 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Sat, 20 Aug 2016 21:55:53 +1000 Subject: Use int32_t type instead of long for font-scale UI configuration variable long type can not be used with PBD::to_string/string_to --- gtk2_ardour/ui_config_vars.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour/ui_config_vars.h') diff --git a/gtk2_ardour/ui_config_vars.h b/gtk2_ardour/ui_config_vars.h index 74fc57874b..53a02865a7 100644 --- a/gtk2_ardour/ui_config_vars.h +++ b/gtk2_ardour/ui_config_vars.h @@ -39,7 +39,7 @@ UI_CONFIG_VARIABLE (bool, only_copy_imported_files, "only-copy-imported-files", UI_CONFIG_VARIABLE (bool, default_narrow_ms, "default-narrow_ms", false) UI_CONFIG_VARIABLE (bool, name_new_markers, "name-new-markers", false) UI_CONFIG_VARIABLE (bool, rubberbanding_snaps_to_grid, "rubberbanding-snaps-to-grid", false) -UI_CONFIG_VARIABLE (long, font_scale, "font-scale", 102400.0) +UI_CONFIG_VARIABLE (int32_t, font_scale, "font-scale", 102400) UI_CONFIG_VARIABLE (bool, show_waveforms, "show-waveforms", true) UI_CONFIG_VARIABLE (bool, show_waveforms_while_recording, "show-waveforms-while-recording", true) UI_CONFIG_VARIABLE (ARDOUR::WaveformScale, waveform_scale, "waveform-scale", Linear) -- cgit v1.2.3