Reserve space for two GC values in copy_drawable().

Pointed out by Pierre Willenbrock.
This commit is contained in:
Soren Sandmann Pedersen 2009-07-09 17:23:04 -04:00
parent 3c53f32413
commit 08df24555c

View File

@ -275,7 +275,7 @@ copy_drawable (DrawablePtr pDraw)
PixmapPtr pPixmap;
GCPtr pGC;
int width, height;
ChangeGCVal gcv[1];
ChangeGCVal gcv[2];
width = pDraw->width;
height = pDraw->height;