Fix VS warning

git-svn-id: https://svn.eduke32.com/eduke32@6984 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-09-28 04:27:53 +00:00
parent 220d86a583
commit 89d5305ee3

View file

@ -4125,16 +4125,10 @@ static void Menu_AboutToStartDisplaying(Menu_t * m)
static void Menu_ChangingTo(Menu_t * m) static void Menu_ChangingTo(Menu_t * m)
{ {
switch (m->menuID)
{
#ifdef __ANDROID__ #ifdef __ANDROID__
case MENU_TOUCHBUTTONS: if (m->menuID == MENU_TOUCHBUTTONS)
AndroidToggleButtonEditor(); AndroidToggleButtonEditor();
break;
#endif #endif
default:
break;
}
switch (m->type) switch (m->type)
{ {