mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Minor reformatting.
This commit is contained in:
parent
8efc74d35e
commit
9614219140
1 changed files with 5 additions and 4 deletions
|
@ -1469,14 +1469,15 @@ SelectPythonDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
|
|||
(LPARAM)pbuf);
|
||||
result = sscanf(pbuf, "Python Version %d.%d",
|
||||
&py_major, &py_minor);
|
||||
if (result == 2)
|
||||
if (result == 2) {
|
||||
#ifdef _DEBUG
|
||||
wsprintf(pythondll, "python%d%d_d.dll",
|
||||
py_major, py_minor);
|
||||
py_major, py_minor);
|
||||
#else
|
||||
wsprintf(pythondll, "python%d%d.dll",
|
||||
py_major, py_minor);
|
||||
wsprintf(pythondll, "python%d%d.dll",
|
||||
py_major, py_minor);
|
||||
#endif
|
||||
}
|
||||
free(pbuf);
|
||||
} else
|
||||
strcpy(pythondll, "");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue