diff src/sound.c @ 46293:1fb8f75062c6

Use macro SPECPDL_INDEX.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 11 Jul 2002 14:18:02 +0000
parents 6e2fa2a3081b
children 40db0673e6f0
line wrap: on
line diff
--- a/src/sound.c	Wed Jul 10 11:08:01 2002 +0000
+++ b/src/sound.c	Thu Jul 11 14:18:02 2002 +0000
@@ -402,7 +402,7 @@
   struct sound_device sd;
   struct sound s;
   Lisp_Object args[2];
-  int count = specpdl_ptr - specpdl;
+  int count = SPECPDL_INDEX ();
 
   file = Qnil;
   GCPRO2 (sound, file);