[Top][All Lists]
[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: |
Sun, 20 Mar 2005 17:06:04 -0500 |
CVSROOT: /cvsroot/wesnoth
Module name: wesnoth
Branch:
Changes by: David White <address@hidden> 05/03/20 22:06:04
Modified files:
src : game.cpp
Log message:
fixed VC++ compile error
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/game.cpp.diff?tr1=1.210&tr2=1.211&r1=text&r2=text
Patches:
Index: wesnoth/src/game.cpp
diff -u wesnoth/src/game.cpp:1.210 wesnoth/src/game.cpp:1.211
--- wesnoth/src/game.cpp:1.210 Sun Mar 20 12:05:52 2005
+++ wesnoth/src/game.cpp Sun Mar 20 22:06:04 2005
@@ -1,4 +1,4 @@
-/* $Id: game.cpp,v 1.210 2005/03/20 12:05:52 gruikya Exp $ */
+/* $Id: game.cpp,v 1.211 2005/03/20 22:06:04 Sirp Exp $ */
/*
Copyright (C) 2003 by David White <address@hidden>
Part of the Battle for Wesnoth Project http://wesnoth.whitevine.net
@@ -1690,8 +1690,8 @@
{
try {
std::cerr << "Battle for Wesnoth v" << VERSION << "\n";
- std::time_t t = std::time(NULL);
- std::cerr << "Started on " << std::ctime(&t) << "\n";
+ time_t t = time(NULL);
+ std::cerr << "Started on " << ctime(&t) << "\n";
std::cerr << "started game: " << SDL_GetTicks() << "\n";
const int res = play_game(argc,argv);