[ros-diffs] [cfinck] 39230: 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
Sat Jan 31 14:18:18 CET 2009


Author: cfinck
Date: Sat Jan 31 07:18:17 2009
New Revision: 39230

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

Modified: branches/ros-branch-0_3_8/reactos/dll/win32/riched20/editor.c
URL: http://svn.reactos.org/svn/reactos/branches/ros-branch-0_3_8/reactos/dll/win32/riched20/editor.c?rev=39230&r1=39229&r2=39230&view=diff
==============================================================================
--- branches/ros-branch-0_3_8/reactos/dll/win32/riched20/editor.c [iso-8859-1] (original)
+++ branches/ros-branch-0_3_8/reactos/dll/win32/riched20/editor.c [iso-8859-1] Sat Jan 31 07:18:17 2009
@@ -4191,7 +4191,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