Mercurial > emacs
changeset 1051:777ed2b92359
* xrdb.c (get_user_db): Use XResourceManagerString when available
[HAVE_X11R4].
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sat, 29 Aug 1992 03:28:52 +0000 |
parents | 133bad38bde1 |
children | b8defcaf1b61 |
files | src/xrdb.c |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xrdb.c Sat Aug 29 03:25:25 1992 +0000 +++ b/src/xrdb.c Sat Aug 29 03:28:52 1992 +0000 @@ -279,9 +279,12 @@ XrmDatabase db; char *xdefs; - /* Yes, I know we should probably get this using XResourceManagerString. - Who cares. */ +#ifdef HAVE_X11R4 + xdefs = XResourceManagerString (display); +#else xdefs = display->xdefaults; +#endif + if (xdefs != NULL) db = XrmGetStringDatabase (xdefs); else