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;
|
||||
GCPtr pGC;
|
||||
int width, height;
|
||||
ChangeGCVal gcv[1];
|
||||
ChangeGCVal gcv[2];
|
||||
|
||||
width = pDraw->width;
|
||||
height = pDraw->height;
|
||||
|
|
Loading…
Reference in New Issue
Block a user