diff options
Diffstat (limited to 'src/doom/hu_stuff.c')
-rw-r--r-- | src/doom/hu_stuff.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/doom/hu_stuff.c b/src/doom/hu_stuff.c index 9b67a1a5..3aaa5a33 100644 --- a/src/doom/hu_stuff.c +++ b/src/doom/hu_stuff.c @@ -595,11 +595,10 @@ boolean HU_Responder(event_t *ev) } else { - c = ev->data2; // send a macro if (altdown) { - c = c - '0'; + c = ev->data1 - '0'; if (c > 9) return false; // fprintf(stderr, "got here\n"); @@ -621,6 +620,8 @@ boolean HU_Responder(event_t *ev) } else { + c = ev->data2; + eatkey = HUlib_keyInIText(&w_chat, c); if (eatkey) { |