WC: Make that macro uppercase as per style guidelines

This commit is contained in:
Celtic Minstrel 2021-03-31 02:17:23 -04:00
parent 63aad7453c
commit 1af920669c

View file

@ -3,15 +3,15 @@
# Since this file is loaded standalone, we need to manually include these
{gui/macros}
#define formula_gui_scale_resolution size
"(max({size}, floor({size} * 265 * 2 / (3 * screen_pitch_microns))))"
#define FORMULA_GUI_SCALE_RESOLUTION SIZE
"(max({SIZE}, floor({SIZE} * 265 * 2 / (3 * screen_pitch_microns))))"
#enddef
[resolution]
automatic_placement = true
maximum_width = {formula_gui_scale_resolution 1024}
maximum_height = {formula_gui_scale_resolution 800}
maximum_width = {FORMULA_GUI_SCALE_RESOLUTION 1024}
maximum_height = {FORMULA_GUI_SCALE_RESOLUTION 800}
[helptip]
id = "tooltip_large"