[gnome-games/glchess-vala] Fix rank numbering



commit c70c37b9b3fdccd708128ca37a9d2e305315890d
Author: Robert Ancell <robert ancell canonical com>
Date:   Sat Dec 25 09:05:33 2010 +1100

    Fix rank numbering

 glchess/src/chess-view-2d.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glchess/src/chess-view-2d.vala b/glchess/src/chess-view-2d.vala
index caae57f..e81205f 100644
--- a/glchess/src/chess-view-2d.vala
+++ b/glchess/src/chess-view-2d.vala
@@ -75,7 +75,7 @@ private class ChessView2D : ChessView
         if (options.show_numbering)
         {
             string[] files = { "a", "b", "c", "d", "e", "f", "g", "h" };
-            string[] ranks = { "1", "2", "3", "4", "5", "6", "7", "8" };
+            string[] ranks = { "8", "7", "6", "5", "4", "3", "2", "1" };
 
             /* Files are centered individiual glyph width and combined glyph height,
              * ranks are centered on individual glyph widths and heights */



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