riched20: make EM_SETPARAFORMAT use ME_RewrapRepaint instead of
ME_UpdateRepaint
Matt Finnicum
mattfinn at gmail.com
Tue Nov 28 02:51:56 CST 2006
Another function that only changes the format, not the contents.
--Matt Finnicum
ChangeLog:
riched20: make EM_SETPARAFORMAT use ME_RewrapRepaint instead of ME_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 a8053d6..007dd84 100644
--- a/dlls/riched20/editor.c
+++ b/dlls/riched20/editor.c
@@ -1768,7 +1768,7 @@ LRESULT WINAPI RichEditANSIWndProc(HWND
}
case EM_SETPARAFORMAT:
ME_SetSelectionParaFormat(editor, (PARAFORMAT2 *)lParam);
- ME_UpdateRepaint(editor);
+ ME_RewrapRepaint(editor);
ME_CommitUndo(editor);
return 0;
case EM_GETPARAFORMAT:
--
1.4.4.1
More information about the wine-patches
mailing list