riched20: make WM_SETFONT call RewrapRepaint instead of
UpdateRepaint
Matt Finnicum
mattfinn at gmail.com
Tue Nov 28 01:35:58 CST 2006
UpdateRepaint is for operations that change the contents of the text,
RewrapRepaint is for operations that only change how the text is
displayed or formatted.
--Matt Finnicum
Changlog:
riched20: make WM_SETFONT call RewrapRepaint instead of UpdateRepaint
---
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 bb690b0..653dae2 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -1881,7 +1881,7 @@ LRESULT WINAPI RichEditANSIWndProc(HWND
ME_CommitUndo(editor);
if (bRepaint)
- ME_UpdateRepaint(editor);
+ ME_RewrapRepaint(editor);
return 0;
}
case WM_SETTEXT:
--
1.4.4.1
More information about the wine-patches
mailing list