This could possibly fix bug #1551524 ("MAXOSX: Cannot Backspace in AGI Games").
We have a similar backspace handling in several other engines. svn-id: r23827
This commit is contained in:
parent
92f2e9691e
commit
c49cf0c6ed
1 changed files with 3 additions and 1 deletions
|
@ -217,7 +217,9 @@ static void process_events() {
|
|||
break;
|
||||
default:
|
||||
if (key < 256 && !isalpha(key)) {
|
||||
key = event.kbd.ascii;
|
||||
// Make sure backspace works right (this fixes a small issue on OS X)
|
||||
if (key != 8)
|
||||
key = event.kbd.ascii;
|
||||
break;
|
||||
}
|
||||
if (key_control)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue