fixed querying the automatic daylight-savings information
Modified: trunk/reactos/lib/cpl/timedate/timedate.c

Modified: trunk/reactos/lib/cpl/timedate/timedate.c
--- trunk/reactos/lib/cpl/timedate/timedate.c	2005-11-30 23:24:19 UTC (rev 19790)
+++ trunk/reactos/lib/cpl/timedate/timedate.c	2005-11-30 23:32:31 UTC (rev 19791)
@@ -462,7 +462,7 @@
   if (RegOpenKeyExW(HKEY_LOCAL_MACHINE,
 		    L"SYSTEM\\CurrentControlSet\\Control\\TimeZoneInformation",
 		    0,
-		    KEY_SET_VALUE,
+		    KEY_QUERY_VALUE,
 		    &hKey))
     return;