Author: mordante
Date: Fri Aug 22 20:55:11 2008
New Revision: 28850

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28850&view=rev
Log:
The extra parens are no longer needed, the bug has been fixed in r28829.

Modified:
    trunk/data/gui/default/macros.cfg

Modified: trunk/data/gui/default/macros.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/gui/default/macros.cfg?rev=28850&r1=28849&r2=28850&view=diff
==============================================================================
--- trunk/data/gui/default/macros.cfg (original)
+++ trunk/data/gui/default/macros.cfg Fri Aug 22 20:55:11 2008
@@ -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


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to