don't copy array

This commit is contained in:
Hylke Bons 2010-05-19 10:11:53 +01:00
parent 22c3dde660
commit 7b7b88b315

View file

@ -135,12 +135,11 @@ namespace SparkleShare {
// Sort by time and get the last 25
Array.Sort (Lines);
Array.Reverse (Lines);
string [] LastTwentyFive = new string [25];
Array.Copy (Lines, 0, LastTwentyFive, 0, 25);
TreeIter Iter;
foreach (string Line in LastTwentyFive) {
for (int i = 0; i < 25; i++) {
string Line = Lines [i];
if (Line.Contains (SelectedEmail)) {
// Look for the snowman!