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 /apps | |
| parent | 119252177ce204127315f2019c318ba5fedba3e7 (diff) | |
| download | rockbox-c41f13f7d8d3c3fe4ee1ed8a94f5492f7adc6945.zip rockbox-c41f13f7d8d3c3fe4ee1ed8a94f5492f7adc6945.tar.gz rockbox-c41f13f7d8d3c3fe4ee1ed8a94f5492f7adc6945.tar.bz2 rockbox-c41f13f7d8d3c3fe4ee1ed8a94f5492f7adc6945.tar.xz | |
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
Diffstat (limited to 'apps')
| -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 a21efee..5bd38dc 100644 --- a/apps/plugins/minesweeper.c +++ b/apps/plugins/minesweeper.c @@ -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", |