From 54633da021c4935543e74301baf0d76508bd2326 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 28 Apr 1994 22:05:54 +0000 Subject: [PATCH] (update_frame): Move assignments to current_frame and desired_frame. --- src/dispnew.c | 8 ++++++-- 1 file 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) int force; int inhibit_hairy_id; { - register struct frame_glyphs *current_frame = FRAME_CURRENT_GLYPHS (f); - register struct frame_glyphs *desired_frame = FRAME_DESIRED_GLYPHS (f); + register struct frame_glyphs *current_frame; + register struct frame_glyphs *desired_frame; register int i; int pause; int preempt_count = baud_rate / 2400 + 1; @@ -1177,6 +1177,10 @@ update_frame (f, force, inhibit_hairy_id) register int downto, leftmost; #endif + /* These are separate to avoid a possible bug in the AIX C compiler. */ + current_frame = FRAME_CURRENT_GLYPHS (f); + desired_frame = FRAME_DESIRED_GLYPHS (f); + if (preempt_count <= 0) preempt_count = 1; -- 2.39.5