Skip to content

SW: Don't allow backspacing on an empty text input buffer

sirlemonhead requested to merge sirlemonhead/eduke32:voidsw-fixes into master

When typing cheat codes into VoidSW, ASAN would trigger when pressing backspace when the input buffer was empty.

There was no check to prevent array underflow for the input buffer, so have added this.

Merge request reports

Loading