[gnome-games] chess: Fix variable name typo



commit d14529e17c7c867cc5b277bf76120a8bc9fef9c3
Author: Robert Ancell <robert ancell canonical com>
Date:   Sat Feb 19 18:22:47 2011 +1100

    chess: Fix variable name typo

 glchess/src/chess-view-2d.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glchess/src/chess-view-2d.vala b/glchess/src/chess-view-2d.vala
index 101894b..95f1d31 100644
--- a/glchess/src/chess-view-2d.vala
+++ b/glchess/src/chess-view-2d.vala
@@ -91,9 +91,9 @@ private class ChessView2D : ChessView
         //c.scale (s, s);
         c.rotate (Math.PI * scene.board_angle / 180.0);
 
-        int bord_size = (int) Math.ceil (square_size * 4 + border_size);
+        int board_size = (int) Math.ceil (square_size * 4 + border_size);
         c.set_source_rgb (0x2e/255.0, 0x34/255.0, 0x36/255.0);
-        c.rectangle (-bord_size, -bord_size, bord_size * 2, bord_size * 2);
+        c.rectangle (-board_size, -board_size, board_size * 2, board_size * 2);
         c.fill ();
 
         for (int file = 0; file < 8; file++)



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