aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-04-28 22:05:54 +0000
committerRichard M. Stallman1994-04-28 22:05:54 +0000
commit54633da021c4935543e74301baf0d76508bd2326 (patch)
tree3b9eba21d110920bfbb5550d1992f499087d6b35 /src
parent3920203046aab52fa6a520eac0acec84ffd1d9fd (diff)
downloademacs-54633da021c4935543e74301baf0d76508bd2326.tar.gz
emacs-54633da021c4935543e74301baf0d76508bd2326.zip
(update_frame): Move assignments to current_frame and desired_frame.
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 2cf263e7c54..aa74907966d 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -1167,8 +1167,8 @@ update_frame (f, force, inhibit_hairy_id)
1167 int force; 1167 int force;
1168 int inhibit_hairy_id; 1168 int inhibit_hairy_id;
1169{ 1169{
1170 register struct frame_glyphs *current_frame = FRAME_CURRENT_GLYPHS (f); 1170 register struct frame_glyphs *current_frame;
1171 register struct frame_glyphs *desired_frame = FRAME_DESIRED_GLYPHS (f); 1171 register struct frame_glyphs *desired_frame;
1172 register int i; 1172 register int i;
1173 int pause; 1173 int pause;
1174 int preempt_count = baud_rate / 2400 + 1; 1174 int preempt_count = baud_rate / 2400 + 1;
@@ -1177,6 +1177,10 @@ update_frame (f, force, inhibit_hairy_id)
1177 register int downto, leftmost; 1177 register int downto, leftmost;
1178#endif 1178#endif
1179 1179
1180 /* These are separate to avoid a possible bug in the AIX C compiler. */
1181 current_frame = FRAME_CURRENT_GLYPHS (f);
1182 desired_frame = FRAME_DESIRED_GLYPHS (f);
1183
1180 if (preempt_count <= 0) 1184 if (preempt_count <= 0)
1181 preempt_count = 1; 1185 preempt_count = 1;
1182 1186