Clix: Forgot ifdefs around touchscreen_set_mode.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22133 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Karl Kurbjun 2009-08-03 02:58:58 +00:00
parent 4bc1646263
commit f011154728

View file

@ -609,8 +609,10 @@ static int clix_menu(struct clix_game_state_t* state, bool ingame)
"Playback Control",
"Quit");
#ifdef HAVE_TOUCHSCREEN
/* Entering Menu, set the touchscreen to the global setting */
rb->touchscreen_set_mode(rb->global_settings->touch_mode);
#endif
while (!leave_menu) {
@ -646,8 +648,10 @@ static int clix_menu(struct clix_game_state_t* state, bool ingame)
}
}
#ifdef HAVE_TOUCHSCREEN
/* Leaving the menu, set back to pointer mode */
rb->touchscreen_set_mode(TOUCHSCREEN_POINT);
#endif
return ret;
}