summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-26 12:21:00 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-03-26 12:21:00 (GMT)
commit344dce41c2bb55fa7708a2257500ab98ef51829e (patch)
tree82c582be8e0a2a20bfec9b42a17d5bd863e4222c /unix
parentf7b1124c07e651cda35446f85222b3001bf1808c (diff)
parent64231492f3d4efcbc7b9874442e69a650d730591 (diff)
downloadtk-344dce41c2bb55fa7708a2257500ab98ef51829e.zip
tk-344dce41c2bb55fa7708a2257500ab98ef51829e.tar.gz
tk-344dce41c2bb55fa7708a2257500ab98ef51829e.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