- Fixed: In the video modes menu, pressing Enter tried to change the screen
mode, even if the cursor wasn't on one of the mode items. SVN r604 (trunk)
This commit is contained in:
parent
1b55520a8b
commit
990f720409
2 changed files with 4 additions and 2 deletions
|
|
@ -2359,9 +2359,9 @@ void M_OptResponder (event_t *ev)
|
|||
}
|
||||
|
||||
case '\r':
|
||||
if (CurrentMenu == &ModesMenu)
|
||||
if (CurrentMenu == &ModesMenu && item->type == screenres)
|
||||
{
|
||||
if (!(item->type == screenres && GetSelectedSize (CurrentItem, &NewWidth, &NewHeight)))
|
||||
if (!GetSelectedSize (CurrentItem, &NewWidth, &NewHeight))
|
||||
{
|
||||
NewWidth = SCREENWIDTH;
|
||||
NewHeight = SCREENHEIGHT;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue