diff options
| author | Andrew Innes | 2001-01-05 21:28:52 +0000 |
|---|---|---|
| committer | Andrew Innes | 2001-01-05 21:28:52 +0000 |
| commit | 8182406ad12774c172f541b85ec0b29a0322f8dd (patch) | |
| tree | 0e8c96eae1fa49c417962e340260fcff4b0b0bb9 /src | |
| parent | 023045d66ddef29afa17245d4de14b9d77915f5a (diff) | |
| download | emacs-8182406ad12774c172f541b85ec0b29a0322f8dd.tar.gz emacs-8182406ad12774c172f541b85ec0b29a0322f8dd.zip | |
(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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 6 | ||||
| -rw-r--r-- | src/term.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 3f059ca6af3..461909466ae 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2001-01-05 Andrew Innes <andrewi@gnu.org> | ||
| 2 | |||
| 3 | * term.c (update_end): Don't check updating_frame; for some reason | ||
| 4 | this can be 0 sometimes, such as after dismissing a popup menu, | ||
| 5 | and isn't necessary given the explicit frame argument. | ||
| 6 | |||
| 1 | 2001-01-05 Gerd Moellmann <gerd@gnu.org> | 7 | 2001-01-05 Gerd Moellmann <gerd@gnu.org> |
| 2 | 8 | ||
| 3 | * sysdep.c: Don't prototype srandom; it takes an unsigned argument | 9 | * 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 | |||
| 507 | update_end (f) | 507 | update_end (f) |
| 508 | FRAME_PTR f; | 508 | FRAME_PTR f; |
| 509 | { | 509 | { |
| 510 | if (! FRAME_TERMCAP_P (updating_frame)) | 510 | if (! FRAME_TERMCAP_P (f)) |
| 511 | { | 511 | { |
| 512 | (*update_end_hook) (f); | 512 | (*update_end_hook) (f); |
| 513 | updating_frame = 0; | 513 | updating_frame = 0; |