summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
Diffstat (limited to 'unix')
-rw-r--r--unix/tkUnixColor.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/unix/tkUnixColor.c b/unix/tkUnixColor.c
index 9bfe8bb..aa01f24 100644
--- a/unix/tkUnixColor.c
+++ b/unix/tkUnixColor.c
@@ -133,7 +133,8 @@ TkpGetColor(
* names.
*/
- if (*name != '#') {
+ /* TODO: better wrapper for XAllocNamedColor, for now always use TkParseColor */
+ if (0 && *name != '#') {
XColor screen;
if (strlen(name) > 99) {
@@ -420,6 +421,7 @@ TkpCmapStressed(
return 0;
}
+
/*
* Local Variables:
* mode: c