fix obvious errors

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1581 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2002-08-07 09:21:39 +00:00
parent 4681e09aac
commit 999e2127af

View file

@ -52,6 +52,8 @@ int button_set_release(int newmask)
static int real_button_get(void)
{
int btn;
if (bActive)
{
if (KEY (VK_NUMPAD4) ||
@ -132,7 +134,7 @@ int button_get_w_tmo(int ticks)
else
break;
} while (block);
} while (--ticks);
return btn;
}