[ros-diffs] [cfinck] 41593: 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.

cfinck at svn.reactos.org cfinck at svn.reactos.org
Tue Jun 23 17:34:48 CEST 2009


Author: cfinck
Date: Tue Jun 23 19:34:47 2009
New Revision: 41593

URL: http://svn.reactos.org/svn/reactos?rev=41593&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_10/reactos/dll/win32/riched20/editor.c

Modified: branches/ros-branch-0_3_10/reactos/dll/win32/riched20/editor.c
URL: http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_10/reactos/dll/win32/riched20/editor.c?rev=41593&r1=41592&r2=41593&view=diff
==============================================================================
--- branches/ros-branch-0_3_10/reactos/dll/win32/riched20/editor.c [iso-8859-1] (original)
+++ branches/ros-branch-0_3_10/reactos/dll/win32/riched20/editor.c [iso-8859-1] Tue Jun 23 19:34:47 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;



More information about the Ros-diffs mailing list