Author: cfinck
Date: Sat Apr 18 18:56:16 2009
New Revision: 40579

URL: http://svn.reactos.org/svn/reactos?rev=40579&view=rev
Log:
Hack: Revert the dispatch routine for WM_SETREDRAW to the pre-Wine-1.1.7 
version to hackfix mIRC and probably other applications using riched20.

Modified:
    branches/ros-branch-0_3_9/reactos/dll/win32/riched20/editor.c

Modified: branches/ros-branch-0_3_9/reactos/dll/win32/riched20/editor.c
URL: 
http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_9/reactos/dll/win32/riched20/editor.c?rev=40579&r1=40578&r2=40579&view=diff
==============================================================================
--- branches/ros-branch-0_3_9/reactos/dll/win32/riched20/editor.c [iso-8859-1] 
(original)
+++ branches/ros-branch-0_3_9/reactos/dll/win32/riched20/editor.c [iso-8859-1] 
Sat Apr 18 18:56:16 2009
@@ -4162,7 +4162,9 @@
     ME_SendRequestResize(editor, TRUE);
     return 0;
   case WM_SETREDRAW:
-    goto do_default;
+    if (wParam)
+      ME_RewrapRepaint(editor);
+    return 0;
   case WM_SIZE:
   {
     RECT clientRect;

Reply via email to