Fixed a paint problem reported by Mike McCormack.

This commit is contained in:
Ulrich Czekalla 2001-05-09 17:12:30 +00:00 committed by Alexandre Julliard
parent 657c4afaec
commit 2d382c6ca6
1 changed files with 1 additions and 1 deletions

View File

@ -3083,7 +3083,7 @@ static void EDIT_EM_ReplaceSel(WND *wnd, EDITSTATE *es, BOOL can_undo, LPCWSTR l
hrgn = CreateRectRgn(0, 0, 0, 0);
EDIT_BuildLineDefs_ML(wnd, es, s, s + strl,
strl - (es->selection_end - es->selection_start), hrgn);
strl - abs(es->selection_end - es->selection_start), hrgn);
}
else
EDIT_CalcLineWidth_SL(wnd, es);