CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     Philippe Plantier <[EMAIL PROTECTED]>   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 <[EMAIL PROTECTED]>
    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