Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
72ecb43c
Commit
72ecb43c
authored
Feb 19, 2003
by
Jan Djärv
Browse files
* xfaces.c (x_face_list_fonts): Set *pfonts to 0 if no fonts found.
parent
97d3e8cd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
src/ChangeLog
src/ChangeLog
+4
-0
src/xfaces.c
src/xfaces.c
+6
-2
No files found.
src/ChangeLog
View file @
72ecb43c
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>
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
* xterm.c (x_list_fonts): If maxnames is less than 0, get all font
...
...
src/xfaces.c
View file @
72ecb43c
...
@@ -2516,8 +2516,12 @@ x_face_list_fonts (f, pattern, pfonts, nfonts, try_alternatives_p)
...
@@ -2516,8 +2516,12 @@ x_face_list_fonts (f, pattern, pfonts, nfonts, try_alternatives_p)
{
{
Lisp_Object list = Valternate_fontname_alist;
Lisp_Object list = Valternate_fontname_alist;
if (fonts) xfree (fonts);
if (*pfonts)
{
xfree (*pfonts);
*pfonts = 0;
}
while (CONSP (list))
while (CONSP (list))
{
{
Lisp_Object entry = XCAR (list);
Lisp_Object entry = XCAR (list);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment