summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2009-08-03 02:58:58 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2009-08-03 02:58:58 +0000
commitf01115472814d79458cc165e85479124ad444826 (patch)
tree68706c7722193c8baa20b249e9f0b59a7586b60a /apps/plugins
parent4bc16462639e01fbf6f435330cbabe10321d91ae (diff)
downloadrockbox-f01115472814d79458cc165e85479124ad444826.tar.gz
rockbox-f01115472814d79458cc165e85479124ad444826.zip
Clix: Forgot ifdefs around touchscreen_set_mode.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22133 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/clix.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/clix.c b/apps/plugins/clix.c
index be60bdde7a..26a979ac54 100644
--- a/apps/plugins/clix.c
+++ b/apps/plugins/clix.c
@@ -609,8 +609,10 @@ static int clix_menu(struct clix_game_state_t* state, bool ingame)
609 "Playback Control", 609 "Playback Control",
610 "Quit"); 610 "Quit");
611 611
612#ifdef HAVE_TOUCHSCREEN
612 /* Entering Menu, set the touchscreen to the global setting */ 613 /* Entering Menu, set the touchscreen to the global setting */
613 rb->touchscreen_set_mode(rb->global_settings->touch_mode); 614 rb->touchscreen_set_mode(rb->global_settings->touch_mode);
615#endif
614 616
615 while (!leave_menu) { 617 while (!leave_menu) {
616 618
@@ -646,8 +648,10 @@ static int clix_menu(struct clix_game_state_t* state, bool ingame)
646 } 648 }
647 } 649 }
648 650
651#ifdef HAVE_TOUCHSCREEN
649 /* Leaving the menu, set back to pointer mode */ 652 /* Leaving the menu, set back to pointer mode */
650 rb->touchscreen_set_mode(TOUCHSCREEN_POINT); 653 rb->touchscreen_set_mode(TOUCHSCREEN_POINT);
654#endif
651 655
652 return ret; 656 return ret;
653} 657}