# HG changeset patch # User Kenichi Handa # Date 1213146828 0 # Node ID dc8b6f0d85e8066bb0d72b47528c42640221bc3e # Parent ea2762d2d8476a385ddd8ca6ce50b977994d841c (ftfont_font_format) [! FC_FONTFORMAT]: Declare "int len;". diff -r ea2762d2d847 -r dc8b6f0d85e8 src/ftfont.c --- 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);