[Scummvm-cvs-logs] SF.net SVN: scummvm: [25328] scummvm/trunk/engines/gob/inter.cpp
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Thu Feb 1 21:19:21 CET 2007
Revision: 25328
http://scummvm.svn.sourceforge.net/scummvm/?rev=25328&view=rev
Author: drmccoy
Date: 2007-02-01 12:19:21 -0800 (Thu, 01 Feb 2007)
Log Message:
-----------
Fixed wrong date display (bug #1650124), tm_mon is in the range 0-11
Modified Paths:
--------------
scummvm/trunk/engines/gob/inter.cpp
Modified: scummvm/trunk/engines/gob/inter.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter.cpp 2007-02-01 20:16:32 UTC (rev 25327)
+++ scummvm/trunk/engines/gob/inter.cpp 2007-02-01 20:19:21 UTC (rev 25328)
@@ -284,7 +284,7 @@
t = localtime(&now);
WRITE_VAR(5, 1900 + t->tm_year);
- WRITE_VAR(6, t->tm_mon);
+ WRITE_VAR(6, t->tm_mon + 1);
WRITE_VAR(7, 0);
WRITE_VAR(8, t->tm_mday);
WRITE_VAR(9, t->tm_hour);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list