summaryrefslogtreecommitdiffstats
path: root/PC/bdist_wininst
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2004-12-01 19:43:02 (GMT)
committerThomas Heller <theller@ctypes.org>2004-12-01 19:43:02 (GMT)
commit8992b9bdf540571456b7e6c82c6dd6f1c592cf57 (patch)
tree3deba5aef9c8073b35351d9d72d46f77e66b0d02 /PC/bdist_wininst
parentfd77c6ce5a9f94ca4728cb20dfdb37af573b44d1 (diff)
downloadcpython-8992b9bdf540571456b7e6c82c6dd6f1c592cf57.zip
cpython-8992b9bdf540571456b7e6c82c6dd6f1c592cf57.tar.gz
cpython-8992b9bdf540571456b7e6c82c6dd6f1c592cf57.tar.bz2
printf format code for integers is %d not %s.
Will backport.
Diffstat (limited to 'PC/bdist_wininst')
-rw-r--r--PC/bdist_wininst/install.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/bdist_wininst/install.c b/PC/bdist_wininst/install.c
index bd83294..be4be37 100644
--- a/PC/bdist_wininst/install.c
+++ b/PC/bdist_wininst/install.c
@@ -617,7 +617,7 @@ static HINSTANCE LoadPythonDll(char *fname)
if (h)
return h;
wsprintf(subkey_name,
- "SOFTWARE\\Python\\PythonCore\\%s.%s\\InstallPath",
+ "SOFTWARE\\Python\\PythonCore\\%d.%d\\InstallPath",
py_major, py_minor);
if (ERROR_SUCCESS != RegQueryValue(HKEY_CURRENT_USER, subkey_name,
fullpath, &size))