changeset 6521:a975c5944916

(x_window_to_scroll_bar, x_new_font): Use assignment, not initialization.
author Karl Heuer <kwzh@gnu.org>
date Fri, 25 Mar 1994 00:42:47 +0000
parents bbde44df8b9d
children eecaa7b19b6c
files src/xterm.c
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Fri Mar 25 00:42:33 1994 +0000
+++ b/src/xterm.c	Fri Mar 25 00:42:47 1994 +0000
@@ -2024,9 +2024,9 @@
        XGCTYPE (tail) == Lisp_Cons;
        tail = XCONS (tail)->cdr)
     {
-      Lisp_Object frame = XCONS (tail)->car;
-      Lisp_Object bar, condemned;
-
+      Lisp_Object frame, bar, condemned;
+
+      frame = XCONS (tail)->car;
       /* All elements of Vframe_list should be frames.  */
       if (XGCTYPE (frame) != Lisp_Frame)
 	abort ();
@@ -4500,8 +4500,9 @@
     }
 
   {
-    Lisp_Object lispy_name = build_string (fontname);
-
+    Lisp_Object lispy_name;
+
+    lispy_name = build_string (fontname);
 
     /* Free the information from XListFonts.  The data
        we actually retain comes from XLoadQueryFont.  */