diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-03-15 20:12:46 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-03-15 20:12:46 (GMT) |
commit | e721f3b20af09520fcc45aa7118c38344c95c96a (patch) | |
tree | 728327a475968b45e3629e6ea8bde88888cfce52 /generic | |
parent | 82592272d14f80ff692543ef1340d36f4aeef4a3 (diff) | |
parent | 54072496349622a788dad28bc5ab9c9df88084c0 (diff) | |
download | tk-e721f3b20af09520fcc45aa7118c38344c95c96a.zip tk-e721f3b20af09520fcc45aa7118c38344c95c96a.tar.gz tk-e721f3b20af09520fcc45aa7118c38344c95c96a.tar.bz2 |
[bug 3505358 ] invalid color name "#f75df642f527"
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkColor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/generic/tkColor.c b/generic/tkColor.c index 3705103..da2cb9b 100644 --- a/generic/tkColor.c +++ b/generic/tkColor.c @@ -848,6 +848,8 @@ TkParseColor( buf[2] = *(--spec); buf[1] = buf[4] = *(--spec); spec = buf; + } else { + spec -= 10; } } return XParseColor(display, map, spec, colorPtr); |