diff options
author | David Reveman <davidr@novell.com> | 2008-09-17 18:21:49 -0400 |
---|---|---|
committer | David Reveman <davidr@novell.com> | 2008-10-30 03:37:43 -0400 |
commit | 34f76e6ef936a40d545b6a60c6214018b0d260e0 (patch) | |
tree | 0452d2bdb30fdd2e664c19c5fbadd4df695b7896 /hw/dmx | |
parent | d12dbde9f01399cd84e1d9df194bba2daed81ab2 (diff) |
Initialize Box.x1 properly.
Diffstat (limited to 'hw/dmx')
-rw-r--r-- | hw/dmx/dmxpixmap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/dmx/dmxpixmap.c b/hw/dmx/dmxpixmap.c index c86b5473f..40b4834ec 100644 --- a/hw/dmx/dmxpixmap.c +++ b/hw/dmx/dmxpixmap.c @@ -277,6 +277,7 @@ RegionPtr dmxBitmapToRegion(PixmapPtr pPixmap) for (y = 0; y < pPixmap->drawable.height; y++) { Box.y1 = y; Box.y2 = y + 1; + Box.x1 = 0; previousPixel = 0L; for (x = 0; x < pPixmap->drawable.width; x++) { currentPixel = XGetPixel(ximage, x, y); |