commit | 2d382c6ca6a3808c20a7e428cd2cfc610494eef5 | [log] [tgz] |
---|---|---|
author | Ulrich Czekalla <ulrich.czekalla@utoronto.ca> | Wed May 09 17:12:30 2001 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Wed May 09 17:12:30 2001 +0000 |
tree | 26a44f5b2f52f32dc475a38edea2b8fd1b2dac53 | |
parent | 657c4afaec46061ebf0be073e84a0164a09bca7f [diff] [blame] |
Fixed a paint problem reported by Mike McCormack.
diff --git a/controls/edit.c b/controls/edit.c index ddd7dcb..5920bf4 100644 --- a/controls/edit.c +++ b/controls/edit.c
@@ -3083,7 +3083,7 @@ 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);