summaryrefslogtreecommitdiff
path: root/mfb/mfbclip.c
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:49:22 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-14 16:49:22 +0000
commitd568221710959cf7d783e6ff0fb80fb43a231124 (patch)
tree8d6f039393294c6ffac8533639afdebe5d68bfc1 /mfb/mfbclip.c
parent9508a382f8a9f241dab097d921b6d290c1c3a776 (diff)
Diffstat (limited to 'mfb/mfbclip.c')
-rw-r--r--mfb/mfbclip.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mfb/mfbclip.c b/mfb/mfbclip.c
index 65d902162..0de94b3f9 100644
--- a/mfb/mfbclip.c
+++ b/mfb/mfbclip.c
@@ -1,3 +1,4 @@
+/* $XFree86: xc/programs/Xserver/mfb/mfbclip.c,v 1.5 2001/12/14 20:00:05 dawes Exp $ */
/***********************************************************
Copyright 1987, 1998 The Open Group
@@ -53,6 +54,7 @@ SOFTWARE.
#include "gc.h"
#include "maskbits.h"
#include "mi.h"
+#include "mfb.h"
#define ADDRECT(reg,r,fr,rx1,ry1,rx2,ry2) \
if (((rx1) < (rx2)) && ((ry1) < (ry2)) && \
@@ -93,7 +95,7 @@ mfbPixmapToRegion(pPix)
register RegionPtr pReg;
register PixelType *pw, w;
register int ib;
- int width, h, base, rx1, crects;
+ int width, h, base, rx1 = 0, crects;
PixelType *pwLineEnd;
int irectPrevStart, irectLineStart;
register BoxPtr prectO, prectN;