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

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

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


From: Philippe Plantier
Subject: [Wesnoth-cvs-commits] wesnoth/src display.cpp
Date: Sun, 17 Apr 2005 16:59:32 -0400

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Philippe Plantier <address@hidden>      05/04/17 20:59:32

Modified files:
        src            : display.cpp 

Log message:
        Made back the screenshot counter static

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

Patches:
Index: wesnoth/src/display.cpp
diff -u wesnoth/src/display.cpp:1.316 wesnoth/src/display.cpp:1.317
--- wesnoth/src/display.cpp:1.316       Sun Apr 17 20:42:10 2005
+++ wesnoth/src/display.cpp     Sun Apr 17 20:59:32 2005
@@ -1,4 +1,4 @@
-/* $Id: display.cpp,v 1.316 2005/04/17 20:42:10 gruikya Exp $ */
+/* $Id: display.cpp,v 1.317 2005/04/17 20:59:32 gruikya Exp $ */
 /*
    Copyright (C) 2003 by David White <address@hidden>
    Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -456,7 +456,7 @@
 void display::screenshot()
 {
        std::string datadir = get_screenshot_dir();
-       unsigned int counter = 0;
+       static unsigned int counter = 0;
        std::string name;
 
        do {




reply via email to

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