Commit b7556bdd authored by Marshall Greenblatt's avatar Marshall Greenblatt

Fix CefZipReader::GetFileLastModified (issue #1899)

parent c82ef82c
......@@ -265,8 +265,9 @@ bool CefZipReaderImpl::GetFileInfo() {
time.tm_hour = file_info.tmu_date.tm_hour;
time.tm_mday = file_info.tmu_date.tm_mday;
time.tm_mon = file_info.tmu_date.tm_mon;
time.tm_year = file_info.tmu_date.tm_year;
time.tm_year = file_info.tmu_date.tm_year - 1900; // Years since 1900.
filemodified_ = mktime(&time);
DCHECK_NE(filemodified_, (size_t)-1);
return true;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment