aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorclick <none@none>2010-06-22 17:04:37 +0200
committerclick <none@none>2010-06-22 17:04:37 +0200
commit922000a5762e022d529f8374c3d74a37e57171db (patch)
tree811c9d257df357cba808fa7ec8613f5e60b60fb9 /src
parent4b9ec1b539186f87b87f627a93d5819608bfd84a (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/tools/vmap3_extractor/vmapexport.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/vmap3_extractor/vmapexport.cpp b/src/tools/vmap3_extractor/vmapexport.cpp
index 83dd99d3a61..1d2079179fb 100644
--- a/src/tools/vmap3_extractor/vmapexport.cpp
+++ b/src/tools/vmap3_extractor/vmapexport.cpp
@@ -251,8 +251,8 @@ void getGamePath()
LONG l;
s = sizeof(input_path);
memset(input_path,0,s);
- l = RegOpenKeyEx(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 = RegOpenKeyExA(HKEY_LOCAL_MACHINE,"SOFTWARE\\Blizzard Entertainment\\World of Warcraft",0,KEY_QUERY_VALUE,&key);
+ l = RegQueryValueExA(key,"InstallPath",0,&t,(LPBYTE)input_path,&s);
RegCloseKey(key);
if (strlen(input_path) > 0)
{