From 8182406ad12774c172f541b85ec0b29a0322f8dd Mon Sep 17 00:00:00 2001 From: Andrew Innes Date: Fri, 5 Jan 2001 21:28:52 +0000 Subject: [PATCH] (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. --- src/ChangeLog | 6 ++++++ src/term.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 3f059ca6af3..461909466ae 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2001-01-05 Andrew Innes + + * 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 * sysdep.c: Don't prototype srandom; it takes an unsigned argument diff --git a/src/term.c b/src/term.c index e7ee0959306..3919f7e59e1 100644 --- a/src/term.c +++ b/src/term.c @@ -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; -- 2.39.2