summaryrefslogtreecommitdiff
path: root/src/ftxfont.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2007-11-29 13:00:37 +0000
committerKenichi Handa <handa@m17n.org>2007-11-29 13:00:37 +0000
commit85a7b8320361a9f40c1ed37408865e7038df3f09 (patch)
tree33e2889dcb1e623fc5efbd4b01ce7ec91f6092ca /src/ftxfont.c
parentd2085f5099cd5d72ea9d1f05deadfb48e9531e6a (diff)
downloademacs-85a7b8320361a9f40c1ed37408865e7038df3f09.tar.gz
(ftxfont_end_for_frame): Fix array indexing error.
Diffstat (limited to 'src/ftxfont.c')
-rw-r--r--src/ftxfont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ftxfont.c b/src/ftxfont.c
index 11879c9f008..62453a1df1b 100644
--- a/src/ftxfont.c
+++ b/src/ftxfont.c
@@ -441,7 +441,7 @@ ftxfont_end_for_frame (f)
struct ftxfont_frame_data *next = data->next;
int i;
- for (i = 0; i < 7; i++)
+ for (i = 0; i < 6; i++)
XFreeGC (FRAME_X_DISPLAY (f), data->gcs[i]);
free (data);
data = next;