1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 09:51:22 -08:00

(x_face_list_fonts): Fix int/Lisp_Object mixup.

This commit is contained in:
Stefan Monnier 2003-02-22 22:20:00 +00:00
parent 3499aebffc
commit 2b47daccff

View file

@ -2463,7 +2463,7 @@ x_face_list_fonts (f, pattern, pfonts, nfonts, try_alternatives_p)
#endif
if (nfonts < 0 && CONSP (lfonts))
num_fonts = Flength (lfonts);
num_fonts = XFASTINT (Flength (lfonts));
/* Make a copy of the font names we got from X, and
split them into fields. */