]> code.delx.au - gnu-emacs/blobdiff - src/atimer.c
(ses-call-printer-return): Doc fix (Nil -> nil).
[gnu-emacs] / src / atimer.c
index f8ed1b265ec6cb3d2d6bbc73585dff3905daad4e..8b092270d7b58892cf22af66d19de6890b72be32 100644 (file)
@@ -1,5 +1,6 @@
 /* Asynchronous timers.
-   Copyright (C) 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2002, 2003, 2004, 2005,
+                 2006 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -231,7 +232,7 @@ stop_other_atimers (t)
       struct atimer *p, *prev;
 
       /* See if T is active.  */
-      for (p = atimers, prev = 0; p && p != t; p = p->next)
+      for (p = atimers, prev = NULL; p && p != t; prev = p, p = p->next)
        ;
 
       if (p == t)