changeset 19388:0f27d1477c21

(get_system_app): Use PATH_X_DEFAULTS.
author Richard M. Stallman <rms@gnu.org>
date Sat, 16 Aug 1997 18:31:23 +0000
parents 252bf4f45d18
children ef499d854610
files src/xrdb.c
diffstat 1 files changed, 1 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/src/xrdb.c	Sat Aug 16 18:29:29 1997 +0000
+++ b/src/xrdb.c	Sat Aug 16 18:31:23 1997 +0000
@@ -364,19 +364,6 @@
 
 /* Producing databases for individual sources.  */
 
-#define X_DEFAULT_SEARCH_PATH "/usr/X11R6/lib/X11/%L/%T/%N%C%S:\
-/usr/X11R6/lib/X11/%l/%T/%N%C%S:\
-/usr/X11R6/lib/X11/%T/%N%C%S:\
-/usr/X11R6/lib/X11/%L/%T/%N%S:\
-/usr/X11R6/lib/X11/%l/%T/%N%S:\
-/usr/X11R6/lib/X11/%T/%N%S:\
-/usr/lib/X11/%L/%T/%N%C%S:\
-/usr/lib/X11/%l/%T/%N%C%S:\
-/usr/lib/X11/%T/%N%C%S:\
-/usr/lib/X11/%L/%T/%N%S:\
-/usr/lib/X11/%l/%T/%N%S:\
-/usr/lib/X11/%T/%N%S"
-
 static XrmDatabase
 get_system_app (class)
      char *class;
@@ -385,7 +372,7 @@
   char *path;
 
   path = getenv ("XFILESEARCHPATH");
-  if (! path) path = X_DEFAULT_SEARCH_PATH;
+  if (! path) path = PATH_X_DEFAULTS;
 
   path = search_magic_path (path, class, 0, 0);
   if (path)