From 082dc2112313d8e38a22d63e65226cb56a10807e Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 5 May 1994 20:30:32 +0000 Subject: [PATCH] (x_load_resources) [USE_X_TOOLKIT]: Don't call XrmInitialize. --- src/xrdb.c | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.39.5