aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xftfont.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xftfont.c b/src/xftfont.c
index 21c17a06aa2..abe8419e833 100644
--- a/src/xftfont.c
+++ b/src/xftfont.c
@@ -289,10 +289,10 @@ xftfont_open (f, entity, pixel_size)
289 ASET (font_object, FONT_TYPE_INDEX, Qxft); 289 ASET (font_object, FONT_TYPE_INDEX, Qxft);
290 len = font_unparse_xlfd (entity, size, name, 256); 290 len = font_unparse_xlfd (entity, size, name, 256);
291 if (len > 0) 291 if (len > 0)
292 ASET (font_object, FONT_NAME_INDEX, make_unibyte_string (name, len)); 292 ASET (font_object, FONT_NAME_INDEX, make_string (name, len));
293 len = font_unparse_fcname (entity, size, name, 256); 293 len = font_unparse_fcname (entity, size, name, 256);
294 if (len > 0) 294 if (len > 0)
295 ASET (font_object, FONT_FULLNAME_INDEX, make_unibyte_string (name, len)); 295 ASET (font_object, FONT_FULLNAME_INDEX, make_string (name, len));
296 else 296 else
297 ASET (font_object, FONT_FULLNAME_INDEX, 297 ASET (font_object, FONT_FULLNAME_INDEX,
298 AREF (font_object, FONT_NAME_INDEX)); 298 AREF (font_object, FONT_NAME_INDEX));