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
This commit is contained in:
Tim Mayberry
2016-08-20 21:55:53 +10:00
parent 63296285be
commit cb3c564822

View File

@@ -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)