changeset 91127:785637bd05d0

(ftxfont_end_for_frame): Fix array indexing error.
author Kenichi Handa <handa@m17n.org>
date Thu, 29 Nov 2007 13:00:37 +0000
parents 88c8186d1815
children 8eb56b57e4a0
files src/ftxfont.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ftxfont.c	Fri Nov 23 02:10:11 2007 +0000
+++ b/src/ftxfont.c	Thu Nov 29 13:00:37 2007 +0000
@@ -441,7 +441,7 @@
       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;