aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/GetColor.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/lib/X11/GetColor.c')
-rw-r--r--nx-X11/lib/X11/GetColor.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nx-X11/lib/X11/GetColor.c b/nx-X11/lib/X11/GetColor.c
index 6725278e7..cd0eb9f63 100644
--- a/nx-X11/lib/X11/GetColor.c
+++ b/nx-X11/lib/X11/GetColor.c
@@ -48,6 +48,7 @@ XColor *exact_def) /* RETURN */
XcmsColor cmsColor_exact;
Status ret;
+#ifdef XCMS
/*
* Let's Attempt to use Xcms and i18n approach to Parse Color
*/
@@ -73,6 +74,7 @@ XColor *exact_def) /* RETURN */
break;
}
}
+#endif
/*
* Xcms and i18n approach failed.