Dylan Smith : winemine: The number of mines should be visible before first choice.

Alexandre Julliard julliard at winehq.org
Wed Jun 25 04:47:20 CDT 2008


Module: wine
Branch: master
Commit: beccf3758692cb48b7ac8bc30265ae36d0e50771
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=beccf3758692cb48b7ac8bc30265ae36d0e50771

Author: Dylan Smith <dylan.ah.smith at gmail.com>
Date:   Tue Jun 24 14:09:50 2008 -0400

winemine: The number of mines should be visible before first choice.

There were a few lines of code that I removed that explicitly kept the
number of mines and the timer unlit before the game started.  This isn't
consistent with Windows, so I don't know what the purpose was for doing
this.  In fact, it prevents the number of mines from being shown ahead
of time, which is useful information.

---

 programs/winemine/main.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/programs/winemine/main.c b/programs/winemine/main.c
index 6c90519..13311c7 100644
--- a/programs/winemine/main.c
+++ b/programs/winemine/main.c
@@ -704,11 +704,6 @@ void DrawLeds( HDC hdc, HDC hMemDC, BOARD *p_board, int number, int x, int y )
             led[i] = 10;
     }
 
-    /* use unlit led if not playing */
-    if( p_board->status == WAITING )
-        for( i = 0; i < 3; i++ )
-            led[i] = 11;
-
     hOldObj = SelectObject (hMemDC, p_board->hLedsBMP);
 
     for( i = 0; i < 3; i++ ) {




More information about the wine-cvs mailing list