Mercurial > emacs
comparison src/dispnew.c @ 7179:cb958b7d5fe1
(update_frame): Move assignments to current_frame and desired_frame.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 28 Apr 1994 22:05:54 +0000 |
parents | 613ec7b5640e |
children | 7da4ad9a2a8f |
comparison
equal
deleted
inserted
replaced
7178:349c14d8be3a | 7179:cb958b7d5fe1 |
---|---|
1165 update_frame (f, force, inhibit_hairy_id) | 1165 update_frame (f, force, inhibit_hairy_id) |
1166 FRAME_PTR f; | 1166 FRAME_PTR f; |
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; |
1175 extern input_pending; | 1175 extern input_pending; |
1176 #ifdef HAVE_X_WINDOWS | 1176 #ifdef HAVE_X_WINDOWS |
1177 register int downto, leftmost; | 1177 register int downto, leftmost; |
1178 #endif | 1178 #endif |
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); | |
1179 | 1183 |
1180 if (preempt_count <= 0) | 1184 if (preempt_count <= 0) |
1181 preempt_count = 1; | 1185 preempt_count = 1; |
1182 | 1186 |
1183 if (FRAME_HEIGHT (f) == 0) abort (); /* Some bug zeros some core */ | 1187 if (FRAME_HEIGHT (f) == 0) abort (); /* Some bug zeros some core */ |