diff options
author | Thomas Heller <theller@ctypes.org> | 2004-12-01 19:43:02 (GMT) |
---|---|---|
committer | Thomas Heller <theller@ctypes.org> | 2004-12-01 19:43:02 (GMT) |
commit | 8992b9bdf540571456b7e6c82c6dd6f1c592cf57 (patch) | |
tree | 3deba5aef9c8073b35351d9d72d46f77e66b0d02 /PC | |
parent | fd77c6ce5a9f94ca4728cb20dfdb37af573b44d1 (diff) | |
download | cpython-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')
-rw-r--r-- | PC/bdist_wininst/install.c | 2 |
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)) |