changeset 95805:dc8b6f0d85e8

(ftfont_font_format) [! FC_FONTFORMAT]: Declare "int len;".
author Kenichi Handa <handa@m17n.org>
date Wed, 11 Jun 2008 01:13:48 +0000
parents ea2762d2d847
children 2e2ae1dd33cc
files src/ftfont.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ftfont.c	Wed Jun 11 00:25:24 2008 +0000
+++ b/src/ftfont.c	Wed Jun 11 01:13:48 2008 +0000
@@ -1748,6 +1748,8 @@
   if (strcmp ((char *) str, "BDF") == 0)
     return intern ("bdf");
 #else  /* not FC_FONTFORMAT */
+  int len;
+
   if (FcPatternGetString (pattern, FC_FILE, 0, &str) != FcResultMatch)
     return Qnil;
   len = strlen ((char *) str);