From 8429d4902156a97c80e283e749e2fe13f245c9b7 Mon Sep 17 00:00:00 2001 From: guido Date: Sun, 27 Apr 2003 20:23:30 +0000 Subject: [PATCH] fixed file dates in root directory svn path=/trunk/; revision=4606 --- reactos/tools/mkflpimg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/tools/mkflpimg.c b/reactos/tools/mkflpimg.c index fbbe65f17e5..5f5defea5af 100644 --- a/reactos/tools/mkflpimg.c +++ b/reactos/tools/mkflpimg.c @@ -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;