# HG changeset patch # User Richard M. Stallman # Date 767570754 0 # Node ID cb958b7d5fe1834e7462f164c49d4129ce79efd6 # Parent 349c14d8be3a4e84e1f9482b0722b5b8053d5dc5 (update_frame): Move assignments to current_frame and desired_frame. diff -r 349c14d8be3a -r cb958b7d5fe1 src/dispnew.c --- a/src/dispnew.c Thu Apr 28 20:01:12 1994 +0000 +++ b/src/dispnew.c Thu Apr 28 22:05:54 1994 +0000 @@ -1167,8 +1167,8 @@ 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 @@ 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;