riched20: Fix typo.

Michael Stefaniuc mstefani at redhat.com
Tue Jul 8 07:05:26 CDT 2008


This fixes a warning introduced by 69cf4e9a :
dlls/riched20/editor.c:1647: warning: ‘clickMsg.pt.y’ is used uninitialized in this function


---
Dylan, please confirm that I have replaced the right 'x'.


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

diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index 7e90096..c285733 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -1643,7 +1643,7 @@ static int ME_CalculateClickCount(HWND hWnd, UINT msg, WPARAM wParam,
         clickMsg.lParam = lParam;
         clickMsg.time = GetMessageTime();
         clickMsg.pt.x = LOWORD(lParam);
-        clickMsg.pt.x = HIWORD(lParam);
+        clickMsg.pt.y = HIWORD(lParam);
         if ((clickNum != 0) &&
             (clickMsg.message == prevClickMsg.message) &&
             (clickMsg.hwnd == prevClickMsg.hwnd) &&
-- 
1.5.6.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080708/aa5d7a45/attachment.pgp 


More information about the wine-patches mailing list