summaryrefslogtreecommitdiff
path: root/fb/fbline.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:29:01 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-25 19:29:01 +0000
commitadc7f9a4ebdfe11d4cd6de9388b63dfe36450b39 (patch)
tree23eb7becc5360b2cbe16aa8d45529880067f3989 /fb/fbline.c
parent90f1536dd315cd265bfc7ef35058761a65a01734 (diff)
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16
Diffstat (limited to 'fb/fbline.c')
-rw-r--r--fb/fbline.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/fb/fbline.c b/fb/fbline.c
index b6cf1c84b..957222492 100644
--- a/fb/fbline.c
+++ b/fb/fbline.c
@@ -1,5 +1,5 @@
/*
- * Id: fbline.c,v 1.1 1999/11/02 03:54:45 keithp Exp $
+ * $XFree86: xc/programs/Xserver/fb/fbline.c,v 1.8 2003/11/03 05:11:00 tsi Exp $
*
* Copyright © 1998 Keith Packard
*
@@ -21,7 +21,6 @@
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $XFree86: xc/programs/Xserver/fb/fbline.c,v 1.7 2001/01/17 07:40:02 keithp Exp $ */
#include "fb.h"
@@ -32,20 +31,15 @@ fbZeroLine (DrawablePtr pDrawable,
int npt,
DDXPointPtr ppt)
{
- FbGCPrivPtr pPriv = fbGetGCPrivate (pGC);
int x1, y1, x2, y2;
int x, y;
int dashOffset;
- int totalDash;
x = pDrawable->x;
y = pDrawable->y;
x1 = ppt->x;
y1 = ppt->y;
dashOffset = pGC->dashOffset;
- totalDash = 0;
- if (pGC->lineStyle != LineSolid)
- totalDash = pPriv->dashLength;
while (--npt)
{
++ppt;