[gnome-sudoku/vala-port] Updated patch for thickening of sudoku 3x3 block borders



commit 5cf8280b96c4cb294215390e82318c2c1bbc2e8e
Author: Parin Porecha <parinporecha gmail com>
Date:   Tue Nov 12 20:55:00 2013 +0000

    Updated patch for thickening of sudoku 3x3 block borders
    
    https://bugzilla.gnome.org/show_bug.cgi?id=633464

 src/sudoku-view.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/sudoku-view.vala b/src/sudoku-view.vala
index d489c3b..e549602 100644
--- a/src/sudoku-view.vala
+++ b/src/sudoku-view.vala
@@ -667,11 +667,11 @@ public class SudokuView : Gtk.AspectFrame
                 cells[row, col] = cell;
                 cell.show ();
 
-                if (col != 0 && (col % game.board.block_rows) == 0)
+                if (col != 0 && (col % game.board.block_cols) == 0)
                 {
                     cell.set_margin_left ((int) grid.border_width);
                 }
-                if (row != 0 && (row % game.board.block_cols) == 0)
+                if (row != 0 && (row % game.board.block_rows) == 0)
                 {
                     cell.set_margin_top ((int) grid.border_width);
                 }


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