mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
fixed file dates in root directory
svn path=/trunk/; revision=4606
This commit is contained in:
parent
b5d5cf6145
commit
8429d49021
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ void create_root_entry(root_entry_t *root, char *fname,
|
|||
root->time = (((localt->tm_hour & 0x001f) << 11) |
|
||||
((localt->tm_min & 0x003f) << 5) |
|
||||
((localt->tm_sec / 2) & 0x001f));
|
||||
root->date = ((((localt->tm_year - 1980) & 0x007f) << 9) |
|
||||
root->date = ((((localt->tm_year - 80) & 0x007f) << 9) |
|
||||
(((localt->tm_mon + 1) & 0x000f) << 5) |
|
||||
(localt->tm_mday & 0x001f));
|
||||
root->cluster = cluster;
|
||||
|
|
Loading…
Reference in a new issue