mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-12 21:01:00 +00:00
Fix FALLTHRU for Win32 console interface code
This commit is contained in:
parent
dadec1196b
commit
78075ecd89
2 changed files with 2 additions and 2 deletions
|
@ -531,7 +531,7 @@ static void Impl_HandleKeyboardConsoleEvent(KEY_EVENT_RECORD evt, HANDLE co)
|
||||||
break;
|
break;
|
||||||
case VK_RETURN:
|
case VK_RETURN:
|
||||||
entering_con_command = false;
|
entering_con_command = false;
|
||||||
// Fall through.
|
/* FALLTHRU */
|
||||||
default:
|
default:
|
||||||
event.data1 = MapVirtualKey(evt.wVirtualKeyCode,2); // convert in to char
|
event.data1 = MapVirtualKey(evt.wVirtualKeyCode,2); // convert in to char
|
||||||
}
|
}
|
||||||
|
|
|
@ -327,7 +327,7 @@ static inline VOID I_GetConsoleEvents(VOID)
|
||||||
break;
|
break;
|
||||||
case VK_RETURN:
|
case VK_RETURN:
|
||||||
entering_con_command = false;
|
entering_con_command = false;
|
||||||
// Fall through.
|
/* FALLTHRU */
|
||||||
default:
|
default:
|
||||||
ev.data1 = MapVirtualKey(input.Event.KeyEvent.wVirtualKeyCode,2); // convert in to char
|
ev.data1 = MapVirtualKey(input.Event.KeyEvent.wVirtualKeyCode,2); // convert in to char
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue