Fix a typo in a macro name, spotted by Zookeeper.
This commit is contained in:
parent
fdb32be49e
commit
444f77e141
2 changed files with 4 additions and 4 deletions
|
@ -29,14 +29,14 @@
|
|||
#
|
||||
# If the text is too high it returns the top side.
|
||||
# Rounding happens to the bottom side.
|
||||
#define GUI__TEXT_VERTICALALLY_CENTRED
|
||||
#define GUI__TEXT_VERTICALLY_CENTRED
|
||||
"(if(text_height < height, (height - text_height + 1) / 2, 0))"
|
||||
#enddef
|
||||
|
||||
#define GUI__CENTERED_TEXT FONT_SIZE FONT_STYLE FONT_COLOUR
|
||||
[text]
|
||||
x = {GUI__TEXT_HORIZONTALLY_CENTRED}
|
||||
y = {GUI__TEXT_VERTICALALLY_CENTRED}
|
||||
y = {GUI__TEXT_VERTICALLY_CENTRED}
|
||||
w = "(text_width)"
|
||||
h = "(text_height)"
|
||||
font_size = {FONT_SIZE}
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
[text]
|
||||
x = 0
|
||||
y = {GUI__TEXT_VERTICALALLY_CENTRED}
|
||||
y = {GUI__TEXT_VERTICALLY_CENTRED}
|
||||
w = "(text_width)"
|
||||
h = "(text_height)"
|
||||
font_size = {FONT_SIZE}
|
||||
|
@ -51,7 +51,7 @@
|
|||
|
||||
[text]
|
||||
x = 0
|
||||
y = {GUI__TEXT_VERTICALALLY_CENTRED}
|
||||
y = {GUI__TEXT_VERTICALLY_CENTRED}
|
||||
w = "(text_width)"
|
||||
h = "(text_height)"
|
||||
font_size = {FONT_SIZE}
|
||||
|
|
Loading…
Add table
Reference in a new issue