ntdll: Lookup DynamicDST based on current year, instead of year of daylight date.
commit3977ebafc068cf0115df4d6fc22f1d2823e04a13
authorSebastian Lackner <sebastian@fds-team.de>
Tue, 4 Aug 2015 00:05:05 +0000 (4 02:05 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 4 Aug 2015 07:45:28 +0000 (4 09:45 +0200)
treea6bbb923cdda13efa8ea1360f3ffdca391bddb25
parent487472b3f67ceeacca336cc899f7c29cd38d3336
ntdll: Lookup DynamicDST based on current year, instead of year of daylight date.

When there are no further time changes, the function find_dst_change() will
return (year_end + 1). This patch ensures that we don't lookup the wrong
DynamicDST entry in such a case.
dlls/ntdll/time.c