Changeset 21537
- Timestamp:
- Dec 29, 2010, 4:11:05 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/kernel32/initsystem.cpp ¶
r21535 r21537 133 133 const char *tz = getenv("TZ"); 134 134 if (tz == NULL) { 135 if (Reg CreateKeyA(HKEY_LOCAL_MACHINE,136 137 135 if (RegOpenKeyA(HKEY_LOCAL_MACHINE, 136 "SYSTEM\\CurrentControlSet\\Control\\TimeZoneInformation", 137 &hkey) == ERROR_SUCCESS) { 138 138 // use the last value 139 139 RegCloseKey(hkey);
Note:
See TracChangeset
for help on using the changeset viewer.