Fixed a paint problem reported by Mike McCormack.
This commit is contained in:
parent
657c4afaec
commit
2d382c6ca6
@ -3083,7 +3083,7 @@ static void EDIT_EM_ReplaceSel(WND *wnd, EDITSTATE *es, BOOL can_undo, LPCWSTR l
|
|||||||
|
|
||||||
hrgn = CreateRectRgn(0, 0, 0, 0);
|
hrgn = CreateRectRgn(0, 0, 0, 0);
|
||||||
EDIT_BuildLineDefs_ML(wnd, es, s, s + strl,
|
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
|
else
|
||||||
EDIT_CalcLineWidth_SL(wnd, es);
|
EDIT_CalcLineWidth_SL(wnd, es);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user