From: Richard M. Stallman Date: Thu, 28 Apr 1994 22:05:54 +0000 (+0000) Subject: (update_frame): Move assignments to current_frame and desired_frame. X-Git-Tag: emacs-19.34~8674 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=54633da021c4935543e74301baf0d76508bd2326;p=emacs.git (update_frame): Move assignments to current_frame and desired_frame. --- 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;