mail[Wesnoth-commits] r43155 - /trunk/src/gui/auxiliary/canvas.cpp


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

Header


Content

Posted by alinktomine on June 03, 2010 - 18:25:
Author: alink
Date: Thu Jun  3 18:25:33 2010
New Revision: 43155

URL: http://svn.gna.org/viewcvs/wesnoth?rev=43155&view=rev
Log:
rename colour->color for "fill_colour" "border_colour", *_colour still 
supported

Modified:
    trunk/src/gui/auxiliary/canvas.cpp

Modified: trunk/src/gui/auxiliary/canvas.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/gui/auxiliary/canvas.cpp?rev=43155&r1=43154&r2=43155&view=diff
==============================================================================
--- trunk/src/gui/auxiliary/canvas.cpp (original)
+++ trunk/src/gui/auxiliary/canvas.cpp Thu Jun  3 18:25:33 2010
@@ -553,8 +553,8 @@
        , w_(cfg["w"])
        , h_(cfg["h"])
        , border_thickness_(cfg["border_thickness"])
-       , border_color_(decode_color(cfg["border_colour"]))
-       , fill_color_(decode_color(cfg["fill_colour"]))
+       , 
border_color_(decode_color(cfg.get_old_attribute("border_color","border_colour")))
+       , 
fill_color_(decode_color(cfg.get_old_attribute("fill_color","fill_colour")))
 {
 /*WIKI
  * @page = GUICanvasWML




Related Messages


Powered by MHonArc, Updated Thu Jun 03 18:40:07 2010