[gnome-games] glines: score is guint so can't be less than zero



commit 12beba429504d21d49c1f0b7d0591948f3d9213c
Author: Thomas Hindoe Paaboel Andersen <phomes gmail com>
Date:   Mon Oct 19 23:47:00 2009 +0200

    glines: score is guint so can't be less than zero

 glines/glines.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/glines/glines.c b/glines/glines.c
index 84ffb22..acc91c4 100644
--- a/glines/glines.c
+++ b/glines/glines.c
@@ -1667,8 +1667,6 @@ restart (void)
    * and without some sort of restricted-access storage the
    * user will always be able to change it. */
   score = games_conf_get_integer (KEY_SAVED_GROUP, KEY_SAVED_SCORE, NULL);
-  if (score < 0)
-    score = 0;
 
   buf = games_conf_get_string (KEY_SAVED_GROUP, KEY_SAVED_FIELD, NULL);
   if (buf) {



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