[gnome-klotski] Remove a double-loop that's not doing anything



commit 9c34b956232eaea88ab758d9a79fd6ab08e40cc6
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Feb 16 16:08:56 2015 -0600

    Remove a double-loop that's not doing anything

 src/puzzle.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/puzzle.vala b/src/puzzle.vala
index 065c3ca..8f63aa8 100644
--- a/src/puzzle.vala
+++ b/src/puzzle.vala
@@ -278,11 +278,13 @@ public class Puzzle : Object
             }
         }
 
+#if 0
         /* Paint changes */
         for (var y = 0; y < height; y++)
             for (var x = 0; x < width; x++)
                 if (get_piece_id (map, x, y) != get_piece_id (tmpmap, x, y) || get_piece_id (tmpmap, x, y) 
== id)
                     ; // FIXME: Just redraw the required space
+#endif
         changed ();
 
         map = tmpmap;


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