diff options
Diffstat (limited to 'PC/bdist_wininst/install.c')
-rw-r--r-- | PC/bdist_wininst/install.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/PC/bdist_wininst/install.c b/PC/bdist_wininst/install.c index 0ea1fcd..64e213e 100644 --- a/PC/bdist_wininst/install.c +++ b/PC/bdist_wininst/install.c @@ -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, ""); |