VirtualBox

Changeset 72144 in vbox for trunk/src/VBox


Ignore:
Timestamp:
May 7, 2018 3:02:01 PM (7 years ago)
Author:
vboxsync
Message:

cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/time/time.cpp

    r72141 r72144  
    547547                         : &g_aiDayOfYear[0];
    548548            pTime->u8Month = 1;
    549             while (pTime->u16YearDay > paiDayOfYear[pTime->u8Month] - 1)
     549            while (pTime->u16YearDay >= paiDayOfYear[pTime->u8Month])
    550550                pTime->u8Month++;
    551551            Assert(pTime->u8Month >= 1 && pTime->u8Month <= 12);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette