+2004-10-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
+
+ * xfns.c (xic_create_xfontset): Initialize missing_list to NULL.
+
2004-10-21 K\e,Aa\e(Broly L\e$,1 q\e(Brentey <lorentey@elte.hu>
* xterm.h (x_output): New member `xic_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;
}
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));