mail[Wesnoth-commits] r28469 - /trunk/src/upload_log.cpp


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

Header


Content

Posted by koraq on August 12, 2008 - 02:14:
Author: mordante
Date: Mon Aug 11 19:45:51 2008
New Revision: 28469

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

Modified:
    trunk/src/upload_log.cpp

Modified: trunk/src/upload_log.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/upload_log.cpp?rev=28469&r1=28468&r2=28469&view=diff
==============================================================================
--- trunk/src/upload_log.cpp (original)
+++ trunk/src/upload_log.cpp Mon Aug 11 19:45:51 2008
@@ -140,9 +140,12 @@
 
 
 // Currently only enabled when playing campaigns.
-upload_log::upload_log(bool enable) : game_(NULL), enabled_(enable)
-{
-       filename_ = next_filename(get_upload_dir(), 100);
+upload_log::upload_log(bool enable) : 
+       config_(),
+       game_(NULL), 
+       filename_(next_filename(get_upload_dir(), 100)),
+       enabled_(enable)
+{
        if (upload_log::manager_)
                upload_log::manager_->manage();
        if (preferences::upload_log() && !thread_.t) {




Related Messages


Powered by MHonArc, Updated Tue Aug 12 03:41:07 2008