mail[Wesnoth-commits] r28827 - /trunk/src/editor2/mouse_action.hpp


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

Header


Content

Posted by koraq on August 21, 2008 - 18:57:
Author: mordante
Date: Thu Aug 21 18:57:22 2008
New Revision: 28827

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

Modified:
    trunk/src/editor2/mouse_action.hpp

Modified: trunk/src/editor2/mouse_action.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/editor2/mouse_action.hpp?rev=28827&r1=28826&r2=28827&view=diff
==============================================================================
--- trunk/src/editor2/mouse_action.hpp (original)
+++ trunk/src/editor2/mouse_action.hpp Thu Aug 21 18:57:22 2008
@@ -35,7 +35,9 @@
 {
 public:
        mouse_action(const CKey& key)
-       : key_(key), toolbar_button_(NULL)
+               : previous_move_hex_()
+               , key_(key)
+               , toolbar_button_(NULL)
        {
        }
 
@@ -129,7 +131,9 @@
 {
 public:
        brush_drag_mouse_action(const brush* const * const brush, const CKey& 
key)
-       : mouse_action(key), brush_(brush)
+               : mouse_action(key)
+               , brush_(brush)
+               , previous_drag_hex_()
        {
        }
        




Related Messages


Powered by MHonArc, Updated Thu Aug 21 20:01:33 2008