mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 10:17:22 +00:00
Fixed wrong date display (bug #1650124), tm_mon is in the range 0-11
svn-id: r25328
This commit is contained in:
parent
0a18259d78
commit
f1a4f57a53
@ -284,7 +284,7 @@ void Inter::renewTimeInVars(void) {
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user