fixed querying the automatic daylight-savings information
authorThomas Bluemel <thomas@reactsoft.com>
Wed, 30 Nov 2005 23:32:31 +0000 (23:32 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Wed, 30 Nov 2005 23:32:31 +0000 (23:32 +0000)
svn path=/trunk/; revision=19791

reactos/lib/cpl/timedate/timedate.c

index 5822a03..70c9301 100644 (file)
@@ -462,7 +462,7 @@ GetAutoDaylightInfo(HWND hwnd)
   if (RegOpenKeyExW(HKEY_LOCAL_MACHINE,
                    L"SYSTEM\\CurrentControlSet\\Control\\TimeZoneInformation",
                    0,
-                   KEY_SET_VALUE,
+                   KEY_QUERY_VALUE,
                    &hKey))
     return;