summaryrefslogtreecommitdiff
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2002-07-11 14:18:02 +0000
committerJuanma Barranquero <lekktu@gmail.com>2002-07-11 14:18:02 +0000
commitaed13378308fae471bf2c11870a456e457166c31 (patch)
tree89ee2f5aaffc88a04531e85b1c1da979f17483f2 /src/dispnew.c
parente20b31732ad01d8de7605ea740525dedc3dbdb90 (diff)
downloademacs-aed13378308fae471bf2c11870a456e457166c31.tar.gz
Use macro SPECPDL_INDEX.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 35c1b87a886..59cc06b19ea 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -5928,7 +5928,7 @@ change_frame_size_1 (f, newheight, newwidth, pretend, delay, safe)
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))