changeset 45399:32cb1788d9cd

* emacs.c (shut_down_emacs) [#if 0]: Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field.
author Ken Raeburn <raeburn@raeburn.org>
date Mon, 20 May 2002 08:05:32 +0000
parents 1a623890a487
children ba8657702375
files src/emacs.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Mon May 20 08:05:26 2002 +0000
+++ b/src/emacs.c	Mon May 20 08:05:32 2002 +0000
@@ -1975,8 +1975,8 @@
 #ifdef HAVE_X_WINDOWS
   /* It's not safe to call intern here.  Maybe we are crashing.  */
   if (!noninteractive && SYMBOLP (Vwindow_system)
-      && XSYMBOL (Vwindow_system)->name->size == 1
-      && XSYMBOL (Vwindow_system)->name->data[0] == 'x'
+      && XSTRING (SYMBOL_NAME (Vwindow_system))->size == 1
+      && XSTRING (SYMBOL_NAME (Vwindow_system))->data[0] == 'x'
       && ! no_x)
     Fx_close_current_connection ();
 #endif /* HAVE_X_WINDOWS */