[gnome-tetravex] Fix typos.



commit 8074841f136c34072ccef9336e5ae291e3ac827d
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Wed Oct 9 17:02:04 2019 +0200

    Fix typos.

 src/puzzle-view.vala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/puzzle-view.vala b/src/puzzle-view.vala
index 47bc2e6..3fca585 100644
--- a/src/puzzle-view.vala
+++ b/src/puzzle-view.vala
@@ -145,7 +145,7 @@ private class PuzzleView : Gtk.DrawingArea
     private uint animation_timeout = 0;
 
     /* Set in configure event */
-    private double x_offset = 0;
+    private double x_offset = 0.0;
     private double y_offset = 0.0;
     private uint tilesize = 0;
     private uint gap = 0;
@@ -386,7 +386,7 @@ private class PuzzleView : Gtk.DrawingArea
         if (!puzzle_init_done)
             return false;
 
-        if (/* arrow_pattern == null || */ socket_pattern == null || render_size != tilesize)
+        if (arrow_pattern == null || socket_pattern == null || render_size != tilesize)
             init_patterns (context);
 
         /* Draw arrow */


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