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: David White
Subject: [Wesnoth-cvs-commits] wesnoth/src game.cpp
Date: Wed, 11 May 2005 08:27:59 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     David White <address@hidden>    05/05/11 12:27:59

Modified files:
        src            : game.cpp 

Log message:
        fixed off-by-1 error when downloading campaigns (CVS internal)

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

Patches:
Index: wesnoth/src/game.cpp
diff -u wesnoth/src/game.cpp:1.244 wesnoth/src/game.cpp:1.245
--- wesnoth/src/game.cpp:1.244  Tue May 10 22:15:57 2005
+++ wesnoth/src/game.cpp        Wed May 11 12:27:59 2005
@@ -1,4 +1,4 @@
-/* $Id: game.cpp,v 1.244 2005/05/10 22:15:57 Sirp Exp $ */
+/* $Id: game.cpp,v 1.245 2005/05/11 12:27:59 Sirp Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -948,7 +948,7 @@
                
sorter.set_alpha_sort(1).set_alpha_sort(2).set_alpha_sort(3).set_numeric_sort(4).set_position_sort(5,sizes);
 
                const int index = gui::show_dialog(disp(),NULL,_("Get 
Campaign"),_("Choose the campaign to download."),gui::OK_CANCEL,&options,
-                                                      
NULL,"",NULL,0,NULL,NULL,-1,-1,NULL,NULL,"",&sorter) - 1;
+                                                      
NULL,"",NULL,0,NULL,NULL,-1,-1,NULL,NULL,"",&sorter);
                if(index < 0) {
                        return;
                }




reply via email to

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