riched20: swap two lines that were in wrong order / caused notification not to be sent

Matt Finnicum mattfinn at gmail.com
Sat Aug 19 16:04:49 CDT 2006


Hi,
These two lines were accidentally swapped, so the EN_LINK notification
doesn't get sent.

--Matt Finnicum

  dlls/riched20/editor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
diff --git a/dlls/riched20/editor.c b/dlls/riched20/editor.c
index aa2fb5d..e13dacd 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -2303,8 +2303,8 @@ LRESULT WINAPI RichEditANSIWndProc(HWND 
   case WM_MOUSEMOVE:
     if (GetCapture() == hWnd)
       ME_MouseMove(editor, (short)LOWORD(lParam), (short)HIWORD(lParam));
-    break;
     ME_LinkNotify(editor,msg,wParam,lParam);
+    break;
   case WM_LBUTTONUP:
     if (GetCapture() == hWnd)
       ReleaseCapture();
-- 
1.4.2


More information about the wine-patches mailing list