summaryrefslogtreecommitdiff
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-12-06 08:49:44 +0000
committerRichard M. Stallman <rms@gnu.org>1994-12-06 08:49:44 +0000
commit745aa2a5867944db83268eee63b6bd1179de8b1f (patch)
treeb192d6de752861de923a5852cc1a85d69ce1d07d /src/dispnew.c
parentc936e1c280f107c52f55d5a913b17dc357ba0f65 (diff)
downloademacs-745aa2a5867944db83268eee63b6bd1179de8b1f.tar.gz
(update_frame): Call calculate_costs if baud_rate changed.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 6160535c3e6..44c5536aa39 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -1195,6 +1195,9 @@ update_frame (f, force, inhibit_hairy_id)
register int downto, leftmost;
#endif
+ if (baud_rate != FRAME_COST_BAUD_RATE (f))
+ calculate_costs (f);
+
if (preempt_count <= 0)
preempt_count = 1;