summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ui_config_vars.h
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2016-08-20 21:55:53 +1000
committerTim Mayberry <mojofunk@gmail.com>2017-04-19 09:36:47 +1000
commitcb3c564822e091325ff8799551640878faa3c597 (patch)
treeac66c6f3cef99d65e726aee7be7e8d50c220eff5 /gtk2_ardour/ui_config_vars.h
parent63296285be0491eb04a58d6684033e6678f855bd (diff)
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
Diffstat (limited to 'gtk2_ardour/ui_config_vars.h')
-rw-r--r--gtk2_ardour/ui_config_vars.h2
1 files changed, 1 insertions, 1 deletions
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)