aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1994-12-06 08:49:44 +0000
committerRichard M. Stallman <[email protected]>1994-12-06 08:49:44 +0000
commitc37e488971321c8e44d4716afbf8c79f7cb654e8 (patch)
tree06aed748fb022d5b02db1683b1d27a24f35d8a1e /src
parent9f732a77fc995460909459aa1f26d7281037bd2b (diff)
(update_frame): Call calculate_costs if baud_rate changed.
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 6160535c3e..44c5536aa3 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;