summaryrefslogtreecommitdiff
path: root/src/xrdb.c
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-05-05 20:30:32 +0000
committerRichard M. Stallman <rms@gnu.org>1994-05-05 20:30:32 +0000
commit487584dd4a3e634fa26be05331eaf722de961463 (patch)
tree0e6fd0b8cc566552f96856e43f62919218e12b3e /src/xrdb.c
parent95e1130de819dd2617d465a4aa7566f30aaa0f03 (diff)
downloademacs-487584dd4a3e634fa26be05331eaf722de961463.tar.gz
(x_load_resources) [USE_X_TOOLKIT]: Don't call XrmInitialize.
Diffstat (limited to 'src/xrdb.c')
-rw-r--r--src/xrdb.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xrdb.c b/src/xrdb.c
index 8ce0ac1ec6c..a064bb59a57 100644
--- a/src/xrdb.c
+++ b/src/xrdb.c
@@ -521,7 +521,11 @@ x_load_resources (display, xrm_string, myname, myclass)
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);