controls/edit.c

Ulrich Czekalla ulrich.czekalla at utoronto.ca
Tue May 8 19:47:19 CDT 2001


This patch fixes the paint problem reported by Mike McCormack.

/Ulrich
-------------- next part --------------
Index: controls/edit.c
===================================================================
RCS file: /home/wine/wine/controls/edit.c,v
retrieving revision 1.80
diff -u -w -r1.80 edit.c
--- controls/edit.c	2001/04/27 18:03:51	1.80
+++ controls/edit.c	2001/05/08 14:42:16
@@ -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);


More information about the wine-patches mailing list