aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/cmsColNm.c
diff options
context:
space:
mode:
authorEgbert Eich <eich@freedesktop.org>2011-05-20 18:25:24 +0200
committerUlrich Sibiller <uli42@gmx.de>2016-10-19 21:40:26 +0200
commit53e2e92e30138f92f04dc5cd25020ee757560d63 (patch)
tree338d475b6f6f6d339db50efe2d1b7a67838b8a08 /nx-X11/lib/X11/cmsColNm.c
parent11d6dac92b6c3c3f62d49817809ce8c6a61c9293 (diff)
downloadnx-libs-53e2e92e30138f92f04dc5cd25020ee757560d63.tar.gz
nx-libs-53e2e92e30138f92f04dc5cd25020ee757560d63.tar.bz2
nx-libs-53e2e92e30138f92f04dc5cd25020ee757560d63.zip
Don't hard code path to Xcms.txt file.
The path to this file is configurable at build time. The source however contains a hard coded path. Signed-off-by: Egbert Eich <eich@freedesktop.org> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Backported-to-NX-by: Ulrich Sibiller <uli42@gmx.de>
Diffstat (limited to 'nx-X11/lib/X11/cmsColNm.c')
-rw-r--r--nx-X11/lib/X11/cmsColNm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/lib/X11/cmsColNm.c b/nx-X11/lib/X11/cmsColNm.c
index 12f23ce99..4b6739adf 100644
--- a/nx-X11/lib/X11/cmsColNm.c
+++ b/nx-X11/lib/X11/cmsColNm.c
@@ -54,7 +54,7 @@ static Status LoadColornameDB(void);
* #define declarations local to this package.
*/
#ifndef XCMSDB
-#define XCMSDB "/usr/lib/X11/Xcms.txt"
+#define XCMSDB XCMSDIR "/Xcms.txt"
#endif
#ifndef isgraph