diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-03-15 20:13:25 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-03-15 20:13:25 (GMT) |
commit | f83e6394a1cbc1886fc8dc164d8c461bbc8f46d1 (patch) | |
tree | 246d11881d7f0476ecdab46507e0f4019c190a5e | |
parent | 64dc4d20f50af60de85e9a7c61f4146ef5ea5a55 (diff) | |
parent | e721f3b20af09520fcc45aa7118c38344c95c96a (diff) | |
download | tk-f83e6394a1cbc1886fc8dc164d8c461bbc8f46d1.zip tk-f83e6394a1cbc1886fc8dc164d8c461bbc8f46d1.tar.gz tk-f83e6394a1cbc1886fc8dc164d8c461bbc8f46d1.tar.bz2 |
[bug 3505358 ] invalid color name "#f75df642f527"
-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 3bf4857..dbdaa23 100644 --- a/generic/tkColor.c +++ b/generic/tkColor.c @@ -874,6 +874,8 @@ TkParseColor( buf[2] = *(--spec); buf[1] = buf[4] = *(--spec); spec = buf; + } else { + spec -= 10; } } return XParseColor(display, map, spec, colorPtr); |