changeset 12771:6f07c79d9a05

(x_delete_display) [AIX]: Don't call XRmDestroyDatabase.
author Richard M. Stallman <rms@gnu.org>
date Sat, 05 Aug 1995 00:57:17 +0000
parents 5488d9efa7de
children f4b2913b7f58
files src/xterm.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Sat Aug 05 00:50:26 1995 +0000
+++ b/src/xterm.c	Sat Aug 05 00:57:17 1995 +0000
@@ -6027,10 +6027,11 @@
 	  tail->next = tail->next->next;
     }
 
-#ifndef USE_X_TOOLKIT
-  /* I'm told Xt does this itself.  */
+#ifndef USE_X_TOOLKIT   /* I'm told Xt does this itself.  */
+#ifndef AIX		/* On AIX, XCloseDisplay calls this.  */
   XrmDestroyDatabase (dpyinfo->xrdb);
 #endif
+#endif
 #ifdef MULTI_KBOARD
   if (--dpyinfo->kboard->reference_count == 0)
     delete_kboard (dpyinfo->kboard);