Tweak comparison order for clarity.

pull/1/head
David Schnur 13 years ago
parent 61c1cad92f
commit 88e0567b46

@ -439,7 +439,7 @@ Licensed under the MIT license.
// If any of the series have fixed color indexes, then we need to
// generate at least as many colors as the highest index.
if (maxIndex >= neededColors) {
if (neededColors <= maxIndex) {
neededColors = maxIndex + 1;
}

Loading…
Cancel
Save