changeset 7342:4cf4669565af

(x_load_resources) [USE_X_TOOLKIT]: Don't call XrmInitialize.
author Richard M. Stallman <rms@gnu.org>
date Thu, 05 May 1994 20:30:32 +0000
parents 516dd16e2017
children 81f9ad98c323
files src/xrdb.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xrdb.c	Thu May 05 20:25:41 1994 +0000
+++ b/src/xrdb.c	Thu May 05 20:30:32 1994 +0000
@@ -521,7 +521,11 @@
   XrmDatabase db;
 
   x_rm_string = XrmStringToQuark (XrmStringType);
+#ifndef USE_X_TOOLKIT
+  /* pmr@osf.org says this shouldn't be done if USE_X_TOOLKIT.
+     I suspect it's because the toolkit version does this elsewhere.  */
   XrmInitialize ();
+#endif
   rdb = XrmGetStringDatabase ("");
 
   user_database = get_user_db (display);