diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-03-15 20:10:37 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-03-15 20:10:37 (GMT) |
commit | 9a785c29e9c82e1ed93749bb3a5b9e011a54b47d (patch) | |
tree | 0de2c6c60349ed80563dfef016d1ecef175db953 | |
parent | 611d5a5c66b4904169154fb574e2493bf3c9584d (diff) | |
download | tk-9a785c29e9c82e1ed93749bb3a5b9e011a54b47d.zip tk-9a785c29e9c82e1ed93749bb3a5b9e011a54b47d.tar.gz tk-9a785c29e9c82e1ed93749bb3a5b9e011a54b47d.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 fcc6581..edd8509 100644 --- a/generic/tkColor.c +++ b/generic/tkColor.c @@ -859,6 +859,8 @@ TkParseColor(display, map, spec, colorPtr) buf[2] = *(--spec); buf[1] = buf[4] = *(--spec); spec = buf; + } else { + spec -= 10; } } return XParseColor(display, map, spec, colorPtr); |