diff options
Diffstat (limited to 'PC/getpath_nt.c')
-rw-r--r-- | PC/getpath_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/getpath_nt.c b/PC/getpath_nt.c index 039a39e..99e8b06 100644 --- a/PC/getpath_nt.c +++ b/PC/getpath_nt.c @@ -54,7 +54,7 @@ getpythonregpath(HKEY keyBase, BOOL bWin32s) LONG rc; char *retval = NULL; char *dataBuf; - if ((rc=RegOpenKey(keyBase, "Software\\Python\\PythonCore\\" WIN32_PATCH_LEVEL "\\PythonPath", + if ((rc=RegOpenKey(keyBase, "Software\\Python\\PythonCore\\" MS_DLL_ID "\\PythonPath", &newKey))==ERROR_SUCCESS) { RegQueryInfoKey(newKey, NULL, NULL, NULL, NULL, NULL, NULL, &numEntries, &nameSize, &dataSize, NULL, NULL ); |