]> git.eshelyaron.com Git - emacs.git/commitdiff
(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 3f059ca6af3467677cabd9acf35a488b29cbd5c6..461909466aef832248b8fe238c541a1acfafe013 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 e7ee0959306da57a9f82cfc582ace10084b45bfe..3919f7e59e11a2bba7b523c0e4ff4276605aceaf 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;