Dylan Smith wrote:
Yes, that is right.
Thanks for catching that.
By the way, should I be replying to wine-devel? Or should I only be doing that if something is wrong with the patch so that Julliard can ignore it? This should do.
thanks bye michael
On Tue, Jul 8, 2008 at 8:05 AM, Michael Stefaniuc <mstefani(a)redhat.com> wrote:
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
-- Michael Stefaniuc Tel.: +49-711-96437-199 Consulting Communications Engineer Fax.: +49-711-96437-111 -------------------------------------------------------------------- Reg. Adresse: Red Hat GmbH, Otto-Hahn-Strasse 20, 85609 Dornach bei Muenchen Handelsregister: Amtsgericht Muenchen HRB 153243 Geschäftsführer: Brendan Lane, Charlie Peters, Michael Cunningham, Werner Knoblich