mail[Wesnoth-commits] r28893 - /trunk/src/editor2/brush.cpp


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

Header


Content

Posted by koraq on August 23, 2008 - 21:44:
Author: mordante
Date: Sat Aug 23 21:14:30 2008
New Revision: 28893

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28893&view=rev
Log:
Initialize all members.

Modified:
    trunk/src/editor2/brush.cpp

Modified: trunk/src/editor2/brush.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/brush.cpp?rev=28893&r1=28892&r2=28893&view=diff
==============================================================================
--- trunk/src/editor2/brush.cpp (original)
+++ trunk/src/editor2/brush.cpp Sat Aug 23 21:14:30 2008
@@ -23,11 +23,16 @@
 namespace editor2 {
 
 brush::brush()
+       : relative_tiles_()
+       , name_()
+       , image_()
 {
 }
 
 brush::brush(const config& cfg)
-: name_(cfg["name"]), image_(cfg["image"])
+       : relative_tiles_()
+       , name_(cfg["name"])
+       , image_(cfg["image"])
 {
        int radius = lexical_cast_default<int>(cfg["radius"], 0);
        if (radius > 0) {




Related Messages


Powered by MHonArc, Updated Sat Aug 23 22:01:54 2008