Author: mordante
Date: Sun Jul 13 14:45:34 2008
New Revision: 27981

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

Modified:
    trunk/src/events.cpp

Modified: trunk/src/events.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/events.cpp?rev=27981&r1=27980&r2=27981&view=diff
==============================================================================
--- trunk/src/events.cpp (original)
+++ trunk/src/events.cpp Sun Jul 13 14:45:34 2008
@@ -44,7 +44,12 @@
 
 struct context
 {
-       context() : focused_handler(-1) {}
+       context() : 
+               handlers(),
+               focused_handler(-1) 
+       {
+       }
+
        void add_handler(handler* ptr);
        bool remove_handler(handler* ptr);
        int cycle_focus();


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to