Commit 72ecb43c authored by Jan Djärv's avatar Jan Djärv
Browse files

* xfaces.c (x_face_list_fonts): Set *pfonts to 0 if no fonts found.

parent 97d3e8cd
2003-02-19 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* xfaces.c (x_face_list_fonts): Set *pfonts to 0 if no fonts found.
2003-02-18 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* xterm.c (x_list_fonts): If maxnames is less than 0, get all font
......
......@@ -2516,7 +2516,11 @@ x_face_list_fonts (f, pattern, pfonts, nfonts, try_alternatives_p)
{
Lisp_Object list = Valternate_fontname_alist;
if (fonts) xfree (fonts);
if (*pfonts)
{
xfree (*pfonts);
*pfonts = 0;
}
while (CONSP (list))
{
......
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