]> granicus.if.org Git - python/commitdiff
Minor reformatting.
authorThomas Heller <theller@ctypes.org>
Thu, 15 Apr 2004 18:19:02 +0000 (18:19 +0000)
committerThomas Heller <theller@ctypes.org>
Thu, 15 Apr 2004 18:19:02 +0000 (18:19 +0000)
PC/bdist_wininst/install.c

index 0ea1fcdbaff6ae8a442953cf5ecf3172b7f48524..64e213ec58bf11f467993ba10d1b1edaf13ee72a 100644 (file)
@@ -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, "");