wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src game.cpp


From: Jon Daniel
Subject: [Wesnoth-cvs-commits] wesnoth/src game.cpp
Date: Sat, 06 Aug 2005 10:00:19 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Jon Daniel <address@hidden>     05/08/06 14:00:19

Modified files:
        src            : game.cpp 

Log message:
        Fix campaign upload password not being saved

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/game.cpp.diff?tr1=1.268&tr2=1.269&r1=text&r2=text

Patches:
Index: wesnoth/src/game.cpp
diff -u wesnoth/src/game.cpp:1.268 wesnoth/src/game.cpp:1.269
--- wesnoth/src/game.cpp:1.268  Sun Jul 31 20:22:08 2005
+++ wesnoth/src/game.cpp        Sat Aug  6 14:00:19 2005
@@ -1,4 +1,4 @@
-/* $Id: game.cpp,v 1.268 2005/07/31 20:22:08 j_daniel Exp $ */
+/* $Id: game.cpp,v 1.269 2005/08/06 14:00:19 j_daniel Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://www.wesnoth.org/
@@ -1042,10 +1042,9 @@
                for(size_t n = 0; n != 8; ++n) {
                        passphrase[n] = 'a' + (rand()%26);
                }
-
+               cfg["passphrase"] = passphrase;
                set_campaign_info(campaign,cfg);
        }
-       cfg["passphrase"] = passphrase;
 
        cfg["name"] = campaign;
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]