Commit 08df2455 authored by Soren Sandmann Pedersen's avatar Soren Sandmann Pedersen
Browse files

Reserve space for two GC values in copy_drawable().

Pointed out by Pierre Willenbrock.
parent 3c53f324
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment