summaryrefslogtreecommitdiffstats
path: root/generic/tkColor.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkColor.c')
-rw-r--r--generic/tkColor.c2
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);