commit | 8992b9bdf540571456b7e6c82c6dd6f1c592cf57 | [log] [tgz] |
---|---|---|
author | Thomas Heller <theller@ctypes.org> | Wed Dec 01 19:43:02 2004 +0000 |
committer | Thomas Heller <theller@ctypes.org> | Wed Dec 01 19:43:02 2004 +0000 |
tree | 3deba5aef9c8073b35351d9d72d46f77e66b0d02 | |
parent | fd77c6ce5a9f94ca4728cb20dfdb37af573b44d1 [diff] [blame] |
printf format code for integers is %d not %s. Will backport.
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 @@ 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))