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 | d32ca76ec2822089f6d47982480f0fef5834fec2 (patch) | |
tree | ca934d0e44626b12d4c8aecaa178c2eb8e312973 | |
parent | 0371108cbfb0f882a56a32e3434be828b45a16f5 (diff) | |
download | tcl-d32ca76ec2822089f6d47982480f0fef5834fec2.zip tcl-d32ca76ec2822089f6d47982480f0fef5834fec2.tar.gz tcl-d32ca76ec2822089f6d47982480f0fef5834fec2.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) { |