diff options
Diffstat (limited to 'apps/plugins/minesweeper.c')
-rw-r--r-- | apps/plugins/minesweeper.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/minesweeper.c b/apps/plugins/minesweeper.c index adecc00502..5b5b422e08 100644 --- a/apps/plugins/minesweeper.c +++ b/apps/plugins/minesweeper.c | |||
@@ -692,7 +692,9 @@ enum minesweeper_status minesweeper( void ) | |||
692 | { | 692 | { |
693 | int i, j; | 693 | int i, j; |
694 | int button; | 694 | int button; |
695 | #if defined(HAVE_TOUCHSCREEN) || defined(MINESWP_TOGGLE_PRE) | ||
695 | int lastbutton = BUTTON_NONE; | 696 | int lastbutton = BUTTON_NONE; |
697 | #endif | ||
696 | 698 | ||
697 | /* the cursor coordinates */ | 699 | /* the cursor coordinates */ |
698 | int x=0, y=0; | 700 | int x=0, y=0; |
@@ -898,8 +900,10 @@ enum minesweeper_status minesweeper( void ) | |||
898 | return MINESWEEPER_USB; | 900 | return MINESWEEPER_USB; |
899 | break; | 901 | break; |
900 | } | 902 | } |
903 | #if defined(HAVE_TOUCHSCREEN) || defined(MINESWP_TOGGLE_PRE) | ||
901 | if( button != BUTTON_NONE ) | 904 | if( button != BUTTON_NONE ) |
902 | lastbutton = button; | 905 | lastbutton = button; |
906 | #endif | ||
903 | } | 907 | } |
904 | 908 | ||
905 | } | 909 | } |