summaryrefslogtreecommitdiff
path: root/src/xfont.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xfont.c')
-rw-r--r--src/xfont.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/xfont.c b/src/xfont.c
index fc2dc195822..5e8dd370120 100644
--- a/src/xfont.c
+++ b/src/xfont.c
@@ -677,7 +677,6 @@ xfont_list_family (struct frame *f)
static Lisp_Object
xfont_open (struct frame *f, Lisp_Object entity, int pixel_size)
{
- USE_LOCAL_ALLOCA;
Display_Info *dpyinfo = FRAME_DISPLAY_INFO (f);
Display *display = dpyinfo->display;
char name[512];
@@ -776,7 +775,7 @@ xfont_open (struct frame *f, Lisp_Object entity, int pixel_size)
if (dashes >= 13)
{
len = xfont_decode_coding_xlfd (p0, -1, name);
- fullname = Fdowncase (make_local_string (name, len));
+ fullname = Fdowncase (make_string (name, len));
}
XFree (p0);
}