Initialise minesweeper main menu so that first item is selected on plugin start (previously was uninitialised, for me usually started off with second item selected)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21617 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Hooper 2009-07-02 23:29:59 +00:00
parent 119252177c
commit c41f13f7d8

View file

@ -548,7 +548,7 @@ int count_flags( void )
/* welcome screen where player can chose mine percentage */
enum minesweeper_status menu( void )
{
int selection, result = MINESWEEPER_QUIT;
int selection = 0, result = MINESWEEPER_QUIT;
bool menu_quit = false;
MENUITEM_STRINGLIST( menu, "Minesweeper Menu", NULL, "Play Minesweeper",