The extra parens are no longer needed, the bug has been fixed in 2008-08-21T18:01:14Z!b.waresiak@gmail.com.
This commit is contained in:
parent
e4b1566e0b
commit
41aeb68c43
1 changed files with 1 additions and 3 deletions
|
@ -29,10 +29,8 @@
|
|||
#
|
||||
# If the text is too high it returns the top side.
|
||||
# Rounding happens to the bottom side.
|
||||
#
|
||||
# NOTE the extra bug in the formula system.
|
||||
#define GUI__TEXT_VERTICALALLY_CENTRED
|
||||
"(if(text_height < height, ((height - text_height) + 1) / 2, 0))"
|
||||
"(if(text_height < height, (height - text_height + 1) / 2, 0))"
|
||||
#enddef
|
||||
|
||||
#define GUI__CENTERED_TEXT FONT_SIZE FONT_STYLE FONT_COLOUR
|
||||
|
|
Loading…
Add table
Reference in a new issue