- fixed keycodes for confirmation menu.

This commit is contained in:
Christoph Oelckers 2017-02-19 17:30:02 +01:00
parent f3b6343e53
commit fa0be4d4a9
1 changed files with 2 additions and 2 deletions

View File

@ -181,12 +181,12 @@ class MessageBoxMenu : Menu
int ch = ev.data1;
ch = ch >= 65 && ch <91? ch + 32 : ch;
if (ch == 78 /*'n'*/ || ch == 32)
if (ch == 110 /*'n'*/ || ch == 32)
{
HandleResult(false);
return true;
}
else if (ch == 89 /*'y'*/)
else if (ch == 121 /*'y'*/)
{
HandleResult(true);
return true;