diff options
author | dgp <dgp@users.sourceforge.net> | 2015-09-21 17:29:22 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2015-09-21 17:29:22 (GMT) |
commit | e4bb6f372f554b29e021e1ab90f875e27479f4a3 (patch) | |
tree | ca934d0e44626b12d4c8aecaa178c2eb8e312973 | |
parent | 0a6732bf275cd138134950549e2f4305e5fa5eed (diff) | |
download | tcl-e4bb6f372f554b29e021e1ab90f875e27479f4a3.zip tcl-e4bb6f372f554b29e021e1ab90f875e27479f4a3.tar.gz tcl-e4bb6f372f554b29e021e1ab90f875e27479f4a3.tar.bz2 |
[a3c3508599] Fix typo that reversed test sense in prior fix for [3610026].
-rw-r--r-- | generic/regc_color.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/regc_color.c b/generic/regc_color.c index 58de004..35e7904 100644 --- a/generic/regc_color.c +++ b/generic/regc_color.c @@ -259,7 +259,7 @@ newcolor( return COLORLESS; /* too many colors */ } n = cm->ncds * 2; - if (n < MAX_COLOR + 1) { + if (n > MAX_COLOR + 1) { n = MAX_COLOR + 1; } if (cm->cd == cm->cdspace) { |