[gnome-chess] fixup: forgot to stage part of the previous commit



commit 5dae742110cc1f69a4c1bee8b69eb6f5b5a61a3a
Author: Michael Catanzaro <mike catanzaro gmail com>
Date:   Sat Jun 8 17:01:27 2013 -0500

    fixup: forgot to stage part of the previous commit
    
    Whoops... without this, we use the doubled game duration again

 src/gnome-chess.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-chess.vala b/src/gnome-chess.vala
index b17ae85..62d4cfa 100644
--- a/src/gnome-chess.vala
+++ b/src/gnome-chess.vala
@@ -1749,8 +1749,8 @@ public class Application : Gtk.Application
         if (duration > 0)
         {
             pgn_game.time_control = (duration / 2).to_string ();
-            pgn_game.white_time_left = duration.to_string ();
-            pgn_game.black_time_left = duration.to_string ();
+            pgn_game.white_time_left = (duration / 2).to_string ();
+            pgn_game.black_time_left = (duration / 2).to_string ();
         }
         var engine_name = settings.get_string ("opponent");
         if (engine_name == "")


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