aboutsummaryrefslogtreecommitdiffstats
path: root/src/ftfont.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ftfont.c')
-rw-r--r--src/ftfont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ftfont.c b/src/ftfont.c
index 131a27f76e0..e16f967f596 100644
--- a/src/ftfont.c
+++ b/src/ftfont.c
@@ -211,7 +211,7 @@ ftfont_pattern_entity (FcPattern *p, Lisp_Object extra)
211 return Qnil; 211 return Qnil;
212 212
213 file = (char *) str; 213 file = (char *) str;
214 key = Fcons (make_unibyte_string (file, strlen (file)), make_number (idx)); 214 key = Fcons (build_unibyte_string (file), make_number (idx));
215 cache = ftfont_lookup_cache (key, FTFONT_CACHE_FOR_ENTITY); 215 cache = ftfont_lookup_cache (key, FTFONT_CACHE_FOR_ENTITY);
216 entity = XCAR (cache); 216 entity = XCAR (cache);
217 if (! NILP (entity)) 217 if (! NILP (entity))