diff src/dispnew.c @ 46293:1fb8f75062c6

Use macro SPECPDL_INDEX.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 11 Jul 2002 14:18:02 +0000
parents 01b93e5e53a7
children 40db0673e6f0
line wrap: on
line diff
--- a/src/dispnew.c	Wed Jul 10 11:08:01 2002 +0000
+++ b/src/dispnew.c	Thu Jul 11 14:18:02 2002 +0000
@@ -5928,7 +5928,7 @@
      int newheight, newwidth, pretend, delay, safe;
 {
   int new_frame_window_width;
-  int count = specpdl_ptr - specpdl;
+  int count = SPECPDL_INDEX ();
 
   /* If we can't deal with the change now, queue it for later.  */
   if (delay || (redisplaying_p && !safe))