mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Fix broken year handling.
svn path=/trunk/; revision=13402
This commit is contained in:
parent
14986414b9
commit
f09c1928ae
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ PcRTCGetCurrentDateTime(PU32 Year, PU32 Month, PU32 Day, PU32 Hour, PU32 Minute,
|
|||
|
||||
if (NULL != Year)
|
||||
{
|
||||
*Year = 100 * BCD_INT(Regs.b.cl) + BCD_INT(Regs.b.ch);
|
||||
*Year = 100 * BCD_INT(Regs.b.ch) + BCD_INT(Regs.b.cl);
|
||||
}
|
||||
if (NULL != Month)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue