mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
printf format code for integers is %d not %s.
Will backport.
This commit is contained in:
parent
fd77c6ce5a
commit
8992b9bdf5
1 changed files with 1 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue