Diff of /dlgAbout.cpp [9be1ae] .. [c033de]  Maximize  Restore

  Switch to side-by-side view

--- a/dlgAbout.cpp
+++ b/dlgAbout.cpp
@@ -34,45 +34,45 @@
 **/
 BOOL WINAPI aboutDlgProc(HWND hDlg, UINT wMsg, WPARAM wParam, LPARAM /*lParam*/)
 {
-	switch  (wMsg)
+  switch  (wMsg)
   {
-	case WM_INITDIALOG:
-		return TRUE;
+  case WM_INITDIALOG:
+    return TRUE;
 
-	case WM_CHAR:
-  	{
-		  TCHAR chCharCode = (TCHAR) wParam;
-		  if (chCharCode == VK_ESCAPE || chCharCode == VK_RETURN)
+  case WM_CHAR:
+    {
+      TCHAR chCharCode = (TCHAR) wParam;
+      if (chCharCode == VK_ESCAPE || chCharCode == VK_RETURN)
       {
-			  EndDialog(hDlg, 0);
+        EndDialog(hDlg, 0);
       }
-		}
-		break;
-	
-	case WM_LBUTTONDOWN:
+    }
+    break;
+  
+  case WM_LBUTTONDOWN:
     EndDialog(hDlg, 0);
     break;
 
-	case WM_COMMAND:
-		switch  (LOWORD(wParam)) 
-		{
-		case IDOK:
-			EndDialog(hDlg, 0);
+  case WM_COMMAND:
+    switch  (LOWORD(wParam)) 
+    {
+    case IDOK:
+      EndDialog(hDlg, 0);
       break;
 
-		case IDCANCEL:
-			EndDialog( hDlg, 0 );
-			break;
+    case IDCANCEL:
+      EndDialog( hDlg, 0 );
+      break;
 
-		default:
+    default:
       return FALSE;
     }
     break;
 
   default:
-	  return  FALSE;
-	
-	} // switch (wMsg)
+    return  FALSE;
+  
+  } // switch (wMsg)
 
   return  TRUE;
 }
@@ -84,7 +84,7 @@
 **/
 void dlgAbout(AboutRecordPtr aboutPtr)
 {
-	PlatformData * platform = (PlatformData *) (aboutPtr->platformData);
-	HWND h = (HWND)platform->hwnd;
+  PlatformData * platform = (PlatformData *) (aboutPtr->platformData);
+  HWND h = (HWND)platform->hwnd;
   DialogBoxParam(GetDLLInstance(), "ABOUT", h, aboutDlgProc, 0);
 }

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks