From c0433f7a41dd91ff08aa98102a1248c53b506320 Mon Sep 17 00:00:00 2001 From: Caleb Anderson Date: Sat, 9 Jan 2010 22:38:22 -0600 Subject: [PATCH] Off by one on colors choice --- OpenRa.Game/Support/PerfHistory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRa.Game/Support/PerfHistory.cs b/OpenRa.Game/Support/PerfHistory.cs index 1b05dc49ad..c9aaecdf5a 100644 --- a/OpenRa.Game/Support/PerfHistory.cs +++ b/OpenRa.Game/Support/PerfHistory.cs @@ -16,7 +16,7 @@ namespace OpenRa.Game.Support s => { var x = new PerfItem(s, colors[nextColor++]); - if (nextColor > colors.Length) nextColor = 0; + if (nextColor >= colors.Length) nextColor = 0; return x; });