* "struct tm" uses years offset on 1900, so we only have to offset by 80 years to make it into a FAT year.

svn path=/trunk/; revision=69138
This commit is contained in:
David Quintana 2015-09-09 01:38:21 +00:00
parent daad9d303b
commit c34c8f1adb

View file

@ -45,7 +45,7 @@ DWORD get_fattime()
timeinfo->tm_hour,
timeinfo->tm_mday,
timeinfo->tm_mon,
timeinfo->tm_year - 1980,
timeinfo->tm_year - 80,
}
};