(update_end): Don't check updating_frame; for some reason
authorAndrew Innes <andrewi@gnu.org>
Fri, 5 Jan 2001 21:28:52 +0000 (21:28 +0000)
committerAndrew Innes <andrewi@gnu.org>
Fri, 5 Jan 2001 21:28:52 +0000 (21:28 +0000)
this can be 0 sometimes, such as after dismissing a popup menu,
and isn't necessary given the explicit frame argument.

src/ChangeLog
src/term.c

index 3f059ca..4619094 100644 (file)
@@ -1,3 +1,9 @@
+2001-01-05  Andrew Innes  <andrewi@gnu.org>
+
+       * term.c (update_end): Don't check updating_frame; for some reason
+       this can be 0 sometimes, such as after dismissing a popup menu,
+       and isn't necessary given the explicit frame argument.
+
 2001-01-05  Gerd Moellmann  <gerd@gnu.org>
 
        * sysdep.c: Don't prototype srandom; it takes an unsigned argument
index e7ee095..3919f7e 100644 (file)
@@ -507,7 +507,7 @@ void
 update_end (f)
      FRAME_PTR f;
 {
-  if (! FRAME_TERMCAP_P (updating_frame))
+  if (! FRAME_TERMCAP_P (f))
     {
       (*update_end_hook) (f);
       updating_frame = 0;