xserver/render renderedge.c,1.1,1.2

Keith Packard xserver-commit@pdx.freedesktop.org
Tue Jan 18 14:15:44 PST 2005


Committed by: keithp

Update of /cvs/xserver/xserver/render
In directory gabe:/tmp/cvs-serv31507

Modified Files:
	renderedge.c 
Log Message:
Fix from xc tree

Index: renderedge.c
===================================================================
RCS file: /cvs/xserver/xserver/render/renderedge.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- renderedge.c	29 Jul 2004 08:10:15 -0000	1.1
+++ renderedge.c	18 Jan 2005 22:15:41 -0000	1.2
@@ -88,7 +88,7 @@
     }
     else
     {
-	if (ne < -e->dy)
+	if (ne <= -e->dy)
 	{
 	    int nx = (-ne) / e->dy;
 	    e->e = ne + nx * (xFixed_48_16) e->dy;
@@ -134,7 +134,6 @@
 {
     xFixed	dx, dy;
 
-    e->y = y_top;
     e->x = x_top;
     e->e = 0;
     dx = x_bot - x_top;



More information about the xserver-commit mailing list