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:
Mark de Wever 2008-08-22 18:55:11 +00:00
parent e4b1566e0b
commit 41aeb68c43

View file

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