summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-03-26 12:21:00 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-03-26 12:21:00 (GMT)
commit76503d5238952ba851a6ae433b59fc8a8801e9ae (patch)
tree82c582be8e0a2a20bfec9b42a17d5bd863e4222c /unix
parent614c5f3d5f8c86d7a1bcb88a971d3fef21b2dc6c (diff)
parent491aa143c78e1f5b865c97bb32cd8de99320363f (diff)
downloadtk-76503d5238952ba851a6ae433b59fc8a8801e9ae.zip
tk-76503d5238952ba851a6ae433b59fc8a8801e9ae.tar.gz
tk-76503d5238952ba851a6ae433b59fc8a8801e9ae.tar.bz2
implement for Unix as well
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