[quadrapassel] Sort scores from highest to lowest



commit 4f57139eaddbaa6416578e8bb6064442b715e8dd
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Thu Nov 7 12:35:33 2013 -0600

    Sort scores from highest to lowest
    
    Currently scores are sorted from lowest to highest

 src/quadrapassel.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/quadrapassel.vala b/src/quadrapassel.vala
index 52313f2..7605a1d 100644
--- a/src/quadrapassel.vala
+++ b/src/quadrapassel.vala
@@ -889,7 +889,7 @@ public class ScoreDialog : Gtk.Dialog
     private static int compare_entries (HistoryEntry a, HistoryEntry b)
     {
         if (a.score != b.score)
-            return a.score - b.score;
+            return b.score - a.score;
         return a.date.compare (b.date);
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]