mail[Wesnoth-commits] r28850 - /trunk/data/gui/default/macros.cfg


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by koraq on August 22, 2008 - 21:51:
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




Related Messages


Powered by MHonArc, Updated Fri Aug 22 22:42:08 2008