riched20: Make EM_SETPARAFORMAT use ME_RewrapRepaint instead of ME_UpdateRepaint.

This commit is contained in:
Matt Finnicum 2006-11-28 02:51:56 -06:00 committed by Alexandre Julliard
parent d7aa81bdfb
commit e864f2f2c3
1 changed files with 1 additions and 1 deletions

View File

@ -1768,7 +1768,7 @@ LRESULT WINAPI RichEditANSIWndProc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lP
} }
case EM_SETPARAFORMAT: case EM_SETPARAFORMAT:
ME_SetSelectionParaFormat(editor, (PARAFORMAT2 *)lParam); ME_SetSelectionParaFormat(editor, (PARAFORMAT2 *)lParam);
ME_UpdateRepaint(editor); ME_RewrapRepaint(editor);
ME_CommitUndo(editor); ME_CommitUndo(editor);
return 0; return 0;
case EM_GETPARAFORMAT: case EM_GETPARAFORMAT: