diff --git a/PC/bdist_wininst/install.c b/PC/bdist_wininst/install.c
index 0ea1fcdbaff6ae8a442953cf5ecf3172b7f48524..64e213ec58bf11f467993ba10d1b1edaf13ee72a 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, "");