update.
[chise/xemacs-chise.git-] / src / console-x.c
index 67c0bd5..05d9ac3 100644 (file)
@@ -104,7 +104,7 @@ get_display_arg_connection (void)
 {
   CONST char *disp_name;
 
-  /* If the user didn't explicitly specifify a display to use when
+  /* If the user didn't explicitly specify a display to use when
      they called make-x-device, then we first check to see if a
      display was specified on the command line with -display.  If
      so, we set disp_name to it.  Otherwise we use XDisplayName to
@@ -140,12 +140,12 @@ get_display_arg_connection (void)
       /* assert: display_arg is only set if we found the display
         arg earlier so we can't fail to find it now. */
       assert (disp_name != NULL);
-      conn = build_ext_string (disp_name, FORMAT_CTEXT);
+      conn = build_ext_string (disp_name, Qctext);
       free_argc_argv (argv);
       return conn;
     }
   else
-    return build_ext_string (XDisplayName (0), FORMAT_CTEXT);
+    return build_ext_string (XDisplayName (0), Qctext);
 }
 
 /* "semi-canonicalize" means convert to a nicer form for printing, but
@@ -280,3 +280,9 @@ console_type_create_x (void)
   CONSOLE_HAS_METHOD (x, initially_selected_for_input);
 }
 
+
+void
+reinit_console_type_create_x (void)
+{
+  REINITIALIZE_CONSOLE_TYPE (x);
+}