X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fpacman.c;h=1cd7690b536a318e14a808fa052acc88dd388d31;hb=6afd6db0ae9396cd7ff897ade597cd5483f49b0e;hp=706b2ab34dc0eb7274664aad80591cb8c574ad28;hpb=8afc01a67be4fbf3f1cc0fce9adf01b5289a21c6;p=xscreensaver diff --git a/hacks/pacman.c b/hacks/pacman.c index 706b2ab3..1cd7690b 100644 --- a/hacks/pacman.c +++ b/hacks/pacman.c @@ -1264,7 +1264,7 @@ scale_pixmap (Display ** dpy, GC gc, Pixmap source, int dwidth, int dheight) end = dheight * yscale; /* Scale height of temp into dest pixmap */ for (i = 0; i <= end; i += yscale) - XCopyArea (*dpy, temp, dest, gc, 0, i, swidth, 1, 0, j++); + XCopyArea (*dpy, temp, dest, gc, 0, i, dwidth, 1, 0, j++); XFreePixmap (*dpy, temp); return (Pixmap) dest;