fix for NT/windows detection

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37572 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2014-01-11 08:09:39 +00:00
parent 41a59dc49e
commit 629f28cd7e

View file

@ -2543,7 +2543,7 @@ GSBreakTime(NSTimeInterval when, NSInteger*year, NSInteger*month, NSInteger*day,
else
{
if (ERROR_SUCCESS == RegOpenKeyExW(HKEY_LOCAL_MACHINE,
L"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Time Zones",
L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Time Zones",
0,
KEY_READ,
&regDirKey))