summaryrefslogtreecommitdiff
path: root/fb
diff options
context:
space:
mode:
authorSoren Sandmann Pedersen <ssp@redhat.com>2009-07-09 17:23:04 -0400
committerSoren Sandmann Pedersen <ssp@redhat.com>2009-07-09 17:23:04 -0400
commit08df24555cb432eb0d90a3f63275e9485e777c4c (patch)
treeb4f5e3265d71e4c62cfa0edaab7d8e7d356388d2 /fb
parent3c53f3241319d96affad2f4539f7661e02e80521 (diff)
Reserve space for two GC values in copy_drawable().
Pointed out by Pierre Willenbrock.
Diffstat (limited to 'fb')
-rw-r--r--fb/fbpict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fb/fbpict.c b/fb/fbpict.c
index c5199afb2..dd9cefe15 100644
--- a/fb/fbpict.c
+++ b/fb/fbpict.c
@@ -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;