Michael Stefaniuc : riched20: Fix typo.

Alexandre Julliard julliard at winehq.org
Tue Jul 8 14:35:15 CDT 2008


Module: wine
Branch: master
Commit: 0164bffd9a16b67ccb630cdccb3697ef0de8cc1a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0164bffd9a16b67ccb630cdccb3697ef0de8cc1a

Author: Michael Stefaniuc <mstefani at redhat.com>
Date:   Tue Jul  8 14:05:26 2008 +0200

riched20: Fix typo.

---

 dlls/riched20/editor.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index 7e90096..3d7f339 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -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) &&




More information about the wine-cvs mailing list