Commit 63ea8ea5 authored by Jan Djärv's avatar Jan Djärv
Browse files

* xfns.c (xic_create_xfontset): Initialize missing_list to NULL.

parent 38be9dbb
2004-10-22 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* xfns.c (xic_create_xfontset): Initialize missing_list to NULL.
2004-10-21 K,Aa(Broly L$,1 q(Brentey <lorentey@elte.hu>
 
* xterm.h (x_output): New member `xic_base_fontname'.
......
......@@ -1949,7 +1949,7 @@ xic_create_xfontset (f, base_fontname)
char *base_fontname;
{
XFontSet xfs = NULL;
char **missing_list;
char **missing_list = NULL;
int missing_count;
char *def_string;
Lisp_Object rest, frame;
......@@ -1968,12 +1968,14 @@ xic_create_xfontset (f, base_fontname)
}
if (!xfs)
/* New fontset. */
xfs = XCreateFontSet (FRAME_X_DISPLAY (f),
base_fontname, &missing_list,
&missing_count, &def_string);
if (missing_list)
XFreeStringList (missing_list);
{
/* New fontset. */
xfs = XCreateFontSet (FRAME_X_DISPLAY (f),
base_fontname, &missing_list,
&missing_count, &def_string);
if (missing_list)
XFreeStringList (missing_list);
}
if (FRAME_XIC_BASE_FONTNAME (f))
xfree (FRAME_XIC_BASE_FONTNAME (f));
......
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