diff options
| author | Stefan Monnier | 2003-02-22 22:20:00 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2003-02-22 22:20:00 +0000 |
| commit | 2b47daccff702690b67ce5c8a33fe908079dda75 (patch) | |
| tree | 8ed849845b5a694b438e7015e7d2aed48c97dd4c | |
| parent | 3499aebffc659adfdb1ae813178c3358e0e46345 (diff) | |
| download | emacs-2b47daccff702690b67ce5c8a33fe908079dda75.tar.gz emacs-2b47daccff702690b67ce5c8a33fe908079dda75.zip | |
(x_face_list_fonts): Fix int/Lisp_Object mixup.
| -rw-r--r-- | src/xfaces.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c index a68a1eacad3..cb6ace62889 100644 --- a/src/xfaces.c +++ b/src/xfaces.c | |||
| @@ -2463,7 +2463,7 @@ x_face_list_fonts (f, pattern, pfonts, nfonts, try_alternatives_p) | |||
| 2463 | #endif | 2463 | #endif |
| 2464 | 2464 | ||
| 2465 | if (nfonts < 0 && CONSP (lfonts)) | 2465 | if (nfonts < 0 && CONSP (lfonts)) |
| 2466 | num_fonts = Flength (lfonts); | 2466 | num_fonts = XFASTINT (Flength (lfonts)); |
| 2467 | 2467 | ||
| 2468 | /* Make a copy of the font names we got from X, and | 2468 | /* Make a copy of the font names we got from X, and |
| 2469 | split them into fields. */ | 2469 | split them into fields. */ |