allow repos with less than 25 commits

This commit is contained in:
Hylke Bons 2010-05-19 10:13:58 +01:00
parent 7b7b88b315
commit f257b67d7c

View file

@ -137,7 +137,7 @@ namespace SparkleShare {
Array.Reverse (Lines);
TreeIter Iter;
for (int i = 0; i < 25; i++) {
for (int i = 0; i < 25 && i < Lines.Length; i++) {
string Line = Lines [i];
if (Line.Contains (SelectedEmail)) {