Merge branch 'pressing-two-keys-in-the-console-crashes-srb2' into 'next'

Pressing Ctrl+Backspace In An Empty Console Crashes SRB2

See merge request STJr/SRB2!1370
This commit is contained in:
SteelT 2021-01-07 16:32:51 -05:00
commit 4041e69fad

View file

@ -826,6 +826,12 @@ static void CON_InputDelSelection(void)
Lock_state();
if (!input_cur)
{
Unlock_state();
return;
}
if (input_cur > input_sel)
{
start = input_sel;