summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tkColor.c2
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);