Commit 2f4c3d6d authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(ftfont_font_format) [! FC_FONTFORMAT]: Declare "int len;".

parent 14f3467e
......@@ -1748,6 +1748,8 @@ ftfont_font_format (FcPattern *pattern)
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment