diff options
| author | Richard M. Stallman | 1994-04-29 04:54:39 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-04-29 04:54:39 +0000 |
| commit | 7098a0fa7c7e2a1ecc7c3e2cc87623e1a12940b7 (patch) | |
| tree | 0b832942c21edeae66b5c34a72fc0730743a71fb /src | |
| parent | b72a58fd20f81679eef561770cbddf7a123577ab (diff) | |
| download | emacs-7098a0fa7c7e2a1ecc7c3e2cc87623e1a12940b7.tar.gz emacs-7098a0fa7c7e2a1ecc7c3e2cc87623e1a12940b7.zip | |
(update_frame): Move those assignments even farther down.
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispnew.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/dispnew.c b/src/dispnew.c index aa74907966d..856f0a149ed 100644 --- a/src/dispnew.c +++ b/src/dispnew.c | |||
| @@ -1168,7 +1168,7 @@ update_frame (f, force, inhibit_hairy_id) | |||
| 1168 | int inhibit_hairy_id; | 1168 | int inhibit_hairy_id; |
| 1169 | { | 1169 | { |
| 1170 | register struct frame_glyphs *current_frame; | 1170 | register struct frame_glyphs *current_frame; |
| 1171 | register struct frame_glyphs *desired_frame; | 1171 | register struct frame_glyphs *desired_frame = 0; |
| 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,10 +1177,6 @@ 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 | |||
| 1184 | if (preempt_count <= 0) | 1180 | if (preempt_count <= 0) |
| 1185 | preempt_count = 1; | 1181 | preempt_count = 1; |
| 1186 | 1182 | ||
| @@ -1198,6 +1194,10 @@ update_frame (f, force, inhibit_hairy_id) | |||
| 1198 | if (!line_ins_del_ok) | 1194 | if (!line_ins_del_ok) |
| 1199 | inhibit_hairy_id = 1; | 1195 | inhibit_hairy_id = 1; |
| 1200 | 1196 | ||
| 1197 | /* These are separate to avoid a possible bug in the AIX C compiler. */ | ||
| 1198 | current_frame = FRAME_CURRENT_GLYPHS (f); | ||
| 1199 | desired_frame = FRAME_DESIRED_GLYPHS (f); | ||
| 1200 | |||
| 1201 | /* See if any of the desired lines are enabled; don't compute for | 1201 | /* See if any of the desired lines are enabled; don't compute for |
| 1202 | i/d line if just want cursor motion. */ | 1202 | i/d line if just want cursor motion. */ |
| 1203 | for (i = 0; i < FRAME_HEIGHT (f); i++) | 1203 | for (i = 0; i < FRAME_HEIGHT (f); i++) |
| @@ -1335,7 +1335,8 @@ update_frame (f, force, inhibit_hairy_id) | |||
| 1335 | if (FRAME_HEIGHT (f) == 0) abort (); /* Some bug zeros some core */ | 1335 | if (FRAME_HEIGHT (f) == 0) abort (); /* Some bug zeros some core */ |
| 1336 | display_completed = !pause; | 1336 | display_completed = !pause; |
| 1337 | 1337 | ||
| 1338 | bzero (desired_frame->enable, FRAME_HEIGHT (f)); | 1338 | if (desired_frame) |
| 1339 | bzero (desired_frame->enable, FRAME_HEIGHT (f)); | ||
| 1339 | return pause; | 1340 | return pause; |
| 1340 | } | 1341 | } |
| 1341 | 1342 | ||