summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hu_stuff.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/hu_stuff.c b/src/hu_stuff.c
index afe3974c..8547f34a 100644
--- a/src/hu_stuff.c
+++ b/src/hu_stuff.c
@@ -649,11 +649,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");
@@ -675,6 +674,8 @@ boolean HU_Responder(event_t *ev)
}
else
{
+ c = ev->data2;
+
if (vanilla_keyboard_mapping)
{
if (shiftdown || (c >= 'a' && c <= 'z'))