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