riched20: Fix typo.
authorMichael Stefaniuc <mstefani@redhat.com>
Tue, 8 Jul 2008 12:05:26 +0000 (14:05 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 8 Jul 2008 18:37:30 +0000 (20:37 +0200)
dlls/riched20/editor.c

index 7e90096..3d7f339 100644 (file)
@@ -1642,8 +1642,8 @@ static int ME_CalculateClickCount(HWND hWnd, UINT msg, WPARAM wParam,
         clickMsg.wParam = wParam;
         clickMsg.lParam = lParam;
         clickMsg.time = GetMessageTime();
-        clickMsg.pt.x = LOWORD(lParam);
-        clickMsg.pt.x = HIWORD(lParam);
+        clickMsg.pt.x = (short)LOWORD(lParam);
+        clickMsg.pt.y = (short)HIWORD(lParam);
         if ((clickNum != 0) &&
             (clickMsg.message == prevClickMsg.message) &&
             (clickMsg.hwnd == prevClickMsg.hwnd) &&