summaryrefslogtreecommitdiff
path: root/fb/fbpict.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-12-01 11:04:49 -0800
committerKeith Packard <keithp@keithp.com>2009-12-11 11:51:00 -0800
commit8e640d6b131d2865a9725d8997023865b0ef3d69 (patch)
treeaa6f63d845467799aa09c499937e1944dc5ec972 /fb/fbpict.c
parent0816c5482c25251da8af5978cc348e1c547bf731 (diff)
Revert "Reserve space for two GC values in copy_drawable()."
This reverts commit 08df24555cb432eb0d90a3f63275e9485e777c4c. Signed-off-by: Keith Packard <keithp@keithp.com> Acked-by: Soeren Sandmann <sandmann@daimi.au.dk>
Diffstat (limited to 'fb/fbpict.c')
-rw-r--r--fb/fbpict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fb/fbpict.c b/fb/fbpict.c
index 2fbef15c3..18ef2e150 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[2];
+ ChangeGCVal gcv[1];
width = pDraw->width;
height = pDraw->height;