summaryrefslogtreecommitdiff
path: root/src/xfaces.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xfaces.c')
-rw-r--r--src/xfaces.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xfaces.c b/src/xfaces.c
index 2f6a4497590..085a0929751 100644
--- a/src/xfaces.c
+++ b/src/xfaces.c
@@ -2844,7 +2844,7 @@ are fixed-pitch. */)
struct font_name *fonts;
Lisp_Object result;
struct gcpro gcpro1;
- int count = specpdl_ptr - specpdl;
+ int count = SPECPDL_INDEX ();
int limit;
/* Let's consider all fonts. Increase the limit for matching