]> git.eshelyaron.com Git - emacs.git/commitdiff
(ftxfont_end_for_frame): Fix array indexing error.
authorKenichi Handa <handa@m17n.org>
Thu, 29 Nov 2007 13:00:37 +0000 (13:00 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 29 Nov 2007 13:00:37 +0000 (13:00 +0000)
src/ftxfont.c

index 11879c9f00852736cf0264bc45711a2e379a9650..62453a1df1bf6a77eceb06950bd28675ffcdf6fb 100644 (file)
@@ -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;