aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-12-06 08:49:44 +0000
committerRichard M. Stallman1994-12-06 08:49:44 +0000
commitc37e488971321c8e44d4716afbf8c79f7cb654e8 (patch)
tree06aed748fb022d5b02db1683b1d27a24f35d8a1e /src
parent9f732a77fc995460909459aa1f26d7281037bd2b (diff)
downloademacs-c37e488971321c8e44d4716afbf8c79f7cb654e8.tar.gz
emacs-c37e488971321c8e44d4716afbf8c79f7cb654e8.zip
(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 6160535c3e6..44c5536aa39 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -1195,6 +1195,9 @@ update_frame (f, force, inhibit_hairy_id)
1195 register int downto, leftmost; 1195 register int downto, leftmost;
1196#endif 1196#endif
1197 1197
1198 if (baud_rate != FRAME_COST_BAUD_RATE (f))
1199 calculate_costs (f);
1200
1198 if (preempt_count <= 0) 1201 if (preempt_count <= 0)
1199 preempt_count = 1; 1202 preempt_count = 1;
1200 1203