Fix vmap3extractor for windows again...

(Silly Microsoft and their idiotic "let's make SURE others can't use something that would make their lives easier")
http://msdn.microsoft.com/en-us/library/ms724897%28VS.85%29.aspx <--- the culprit (BLAAAAH!)

--HG--
branch : trunk
This commit is contained in:
click
2010-06-22 17:04:37 +02:00
parent 4b9ec1b539
commit 922000a576
+2 -2
View File
@@ -251,8 +251,8 @@ void getGamePath()
LONG l; LONG l;
s = sizeof(input_path); s = sizeof(input_path);
memset(input_path,0,s); memset(input_path,0,s);
l = RegOpenKeyEx(HKEY_LOCAL_MACHINE,"SOFTWARE\\Blizzard Entertainment\\World of Warcraft",0,KEY_QUERY_VALUE,&key); l = RegOpenKeyExA(HKEY_LOCAL_MACHINE,"SOFTWARE\\Blizzard Entertainment\\World of Warcraft",0,KEY_QUERY_VALUE,&key);
l = RegQueryValueEx(key,"InstallPath",0,&t,(LPBYTE)input_path,&s); l = RegQueryValueExA(key,"InstallPath",0,&t,(LPBYTE)input_path,&s);
RegCloseKey(key); RegCloseKey(key);
if (strlen(input_path) > 0) if (strlen(input_path) > 0)
{ {