diff options
author | Dave Hooper <dave@beermex.com> | 2009-07-02 23:29:59 +0000 |
---|---|---|
committer | Dave Hooper <dave@beermex.com> | 2009-07-02 23:29:59 +0000 |
commit | c41f13f7d8d3c3fe4ee1ed8a94f5492f7adc6945 (patch) | |
tree | 2032caf54a0ff2c5b2429553bb16684ce6504ef8 | |
parent | 119252177ce204127315f2019c318ba5fedba3e7 (diff) | |
download | rockbox-c41f13f7d8d3c3fe4ee1ed8a94f5492f7adc6945.tar.gz rockbox-c41f13f7d8d3c3fe4ee1ed8a94f5492f7adc6945.zip |
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
-rw-r--r-- | apps/plugins/minesweeper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/minesweeper.c b/apps/plugins/minesweeper.c index a21efeec76..5bd38dc244 100644 --- a/apps/plugins/minesweeper.c +++ b/apps/plugins/minesweeper.c | |||
@@ -548,7 +548,7 @@ int count_flags( void ) | |||
548 | /* welcome screen where player can chose mine percentage */ | 548 | /* welcome screen where player can chose mine percentage */ |
549 | enum minesweeper_status menu( void ) | 549 | enum minesweeper_status menu( void ) |
550 | { | 550 | { |
551 | int selection, result = MINESWEEPER_QUIT; | 551 | int selection = 0, result = MINESWEEPER_QUIT; |
552 | bool menu_quit = false; | 552 | bool menu_quit = false; |
553 | 553 | ||
554 | MENUITEM_STRINGLIST( menu, "Minesweeper Menu", NULL, "Play Minesweeper", | 554 | MENUITEM_STRINGLIST( menu, "Minesweeper Menu", NULL, "Play Minesweeper", |