Reserve space for two GC values in copy_drawable().
Pointed out by Pierre Willenbrock.
This commit is contained in:
parent
3c53f32413
commit
08df24555c
|
@ -275,7 +275,7 @@ copy_drawable (DrawablePtr pDraw)
|
||||||
PixmapPtr pPixmap;
|
PixmapPtr pPixmap;
|
||||||
GCPtr pGC;
|
GCPtr pGC;
|
||||||
int width, height;
|
int width, height;
|
||||||
ChangeGCVal gcv[1];
|
ChangeGCVal gcv[2];
|
||||||
|
|
||||||
width = pDraw->width;
|
width = pDraw->width;
|
||||||
height = pDraw->height;
|
height = pDraw->height;
|
||||||
|
|
Loading…
Reference in New Issue