aboutsummaryrefslogtreecommitdiff
path: root/engines/agi
diff options
context:
space:
mode:
Diffstat (limited to 'engines/agi')
-rw-r--r--engines/agi/agi.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/agi/agi.cpp b/engines/agi/agi.cpp
index 4bc85bc5b4..aa17ba1fa3 100644
--- a/engines/agi/agi.cpp
+++ b/engines/agi/agi.cpp
@@ -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)