mail[Wesnoth-commits] r28854 - in /trunk/data/gui/default: macros.cfg widget/label_default.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:50:
Author: mordante
Date: Fri Aug 22 21:33:45 2008
New Revision: 28854

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28854&view=rev
Log:
Fix a typo in a macro name, spotted by Zookeeper.

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

Modified: trunk/data/gui/default/macros.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/gui/default/macros.cfg?rev=28854&r1=28853&r2=28854&view=diff
==============================================================================
--- trunk/data/gui/default/macros.cfg (original)
+++ trunk/data/gui/default/macros.cfg Fri Aug 22 21:33:45 2008
@@ -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}

Modified: trunk/data/gui/default/widget/label_default.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/gui/default/widget/label_default.cfg?rev=28854&r1=28853&r2=28854&view=diff
==============================================================================
--- trunk/data/gui/default/widget/label_default.cfg (original)
+++ trunk/data/gui/default/widget/label_default.cfg Fri Aug 22 21:33:45 2008
@@ -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}




Related Messages


Powered by MHonArc, Updated Fri Aug 22 22:01:36 2008