Convert to DOS line endings
authorH.G. Muller <h.g.muller@hccnet.nl>
Thu, 21 Jan 2010 18:24:49 +0000 (19:24 +0100)
committerH.G. Muller <h.g.muller@hccnet.nl>
Sat, 30 Jan 2010 08:42:49 +0000 (09:42 +0100)
For easier understanding of upcoming diffs of winboard.c

winboard/winboard.c

index aa13836..8a965c4 100644 (file)
@@ -3719,7 +3719,7 @@ MouseEvent(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
     break;\r
 \r
   case WM_MOUSEMOVE:\r
-    MovePV(pt.x - boardRect.left, pt.y - boardRect.top, boardRect.bottom - boardRect.top);
+    MovePV(pt.x - boardRect.left, pt.y - boardRect.top, boardRect.bottom - boardRect.top);\r
     if ((appData.animateDragging || appData.highlightDragging)\r
        && (wParam & MK_LBUTTON)\r
        && dragInfo.from.x >= 0) \r
@@ -3757,12 +3757,12 @@ MouseEvent(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
     }\r
     break;\r
 \r
-  case WM_MBUTTONUP:
-  case WM_RBUTTONUP:
-    ReleaseCapture();
-    UnLoadPV();
-    break;
+  case WM_MBUTTONUP:\r
+  case WM_RBUTTONUP:\r
+    ReleaseCapture();\r
+    UnLoadPV();\r
+    break;\r
\r
   case WM_MBUTTONDOWN:\r
   case WM_RBUTTONDOWN:\r
     ErrorPopDown();\r
@@ -3809,29 +3809,29 @@ MouseEvent(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
             MenuPopup(hwnd, pt, LoadMenu(hInst, "ShogiPieceMenu"), -1);\r
       }\r
       break;\r
-    case IcsObserving:
-      if(!appData.icsEngineAnalyze) break;
-    case IcsPlayingWhite:
-    case IcsPlayingBlack:
-      if(!appData.zippyPlay) goto noZip;
-    case MachinePlaysWhite:
-    case MachinePlaysBlack:
-    case TwoMachinesPlay:
-    case AnalyzeMode:
-    case AnalyzeFile:
-      if (!appData.dropMenu) {
-        SetCapture(hwndMain);
-        LoadPV(pt.x - boardRect.left, pt.y - boardRect.top);
-        break;
-      }
-      if(gameMode == TwoMachinesPlay || gameMode == AnalyzeMode ||
-         gameMode == AnalyzeFile || gameMode == IcsObserving) break;
-    case EditGame:
-    noZip:
-      if (x < 0 || y < 0) break;
-      if (!appData.dropMenu || appData.testLegality &&
-         gameInfo.variant != VariantBughouse &&
-         gameInfo.variant != VariantCrazyhouse) break;
+    case IcsObserving:\r
+      if(!appData.icsEngineAnalyze) break;\r
+    case IcsPlayingWhite:\r
+    case IcsPlayingBlack:\r
+      if(!appData.zippyPlay) goto noZip;\r
+    case MachinePlaysWhite:\r
+    case MachinePlaysBlack:\r
+    case TwoMachinesPlay:\r
+    case AnalyzeMode:\r
+    case AnalyzeFile:\r
+      if (!appData.dropMenu) {\r
+        SetCapture(hwndMain);\r
+        LoadPV(pt.x - boardRect.left, pt.y - boardRect.top);\r
+        break;\r
+      }\r
+      if(gameMode == TwoMachinesPlay || gameMode == AnalyzeMode ||\r
+         gameMode == AnalyzeFile || gameMode == IcsObserving) break;\r
+    case EditGame:\r
+    noZip:\r
+      if (x < 0 || y < 0) break;\r
+      if (!appData.dropMenu || appData.testLegality &&\r
+         gameInfo.variant != VariantBughouse &&\r
+         gameInfo.variant != VariantCrazyhouse) break;\r
       fromX = x;\r
       fromY = y;\r
       hmenu = LoadMenu(hInst, "DropPieceMenu");\r