summaryrefslogtreecommitdiffstats
path: root/PC/bdist_wininst
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2004-04-15 18:19:02 (GMT)
committerThomas Heller <theller@ctypes.org>2004-04-15 18:19:02 (GMT)
commit96142191407885f8effd18535c92a0f2fec1cefd (patch)
treeb35e4bb263c2da122046f4af068d70aff14d21d0 /PC/bdist_wininst
parent8efc74d35e28e0cdf5e6181134defdc97ca3462a (diff)
downloadcpython-96142191407885f8effd18535c92a0f2fec1cefd.zip
cpython-96142191407885f8effd18535c92a0f2fec1cefd.tar.gz
cpython-96142191407885f8effd18535c92a0f2fec1cefd.tar.bz2
Minor reformatting.
Diffstat (limited to 'PC/bdist_wininst')
-rw-r--r--PC/bdist_wininst/install.c9
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, "");