changeset 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 349c14d8be3a
children d155606a10fe
files src/dispnew.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;