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_events.cpp


From: Yann Dirson
Subject: [Wesnoth-cvs-commits] wesnoth/src game_events.cpp
Date: Sun, 06 Mar 2005 13:14:49 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Yann Dirson <address@hidden>    05/03/06 18:14:49

Modified files:
        src            : game_events.cpp 

Log message:
        fixed hardcoded constant in error message

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

Patches:
Index: wesnoth/src/game_events.cpp
diff -u wesnoth/src/game_events.cpp:1.123 wesnoth/src/game_events.cpp:1.124
--- wesnoth/src/game_events.cpp:1.123   Sun Mar  6 18:12:16 2005
+++ wesnoth/src/game_events.cpp Sun Mar  6 18:14:48 2005
@@ -1,4 +1,4 @@
-/* $Id: game_events.cpp,v 1.123 2005/03/06 18:12:16 ydirson Exp $ */
+/* $Id: game_events.cpp,v 1.124 2005/03/06 18:14:48 ydirson Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -1407,7 +1407,8 @@
                        const std::string index_str(index_start+1,index_end);
                        index = size_t(atoi(index_str.c_str()));
                        if(index > MaxLoop) {
-                               LOG_NG << "get_variable_internal: index greater 
than 1024, truncated\n";
+                               LOG_NG << "get_variable_internal: index greater 
than " << MaxLoop
+                                      << ", truncated\n";
                                index = MaxLoop;
                        }
 




reply via email to

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