summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/wscons/wskbd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/wscons/wskbd.c b/sys/dev/wscons/wskbd.c
index c4c0156bacd..f31d76121cb 100644
--- a/sys/dev/wscons/wskbd.c
+++ b/sys/dev/wscons/wskbd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wskbd.c,v 1.21 2001/06/09 01:56:07 aaron Exp $ */
+/* $OpenBSD: wskbd.c,v 1.22 2001/06/11 20:56:57 mickey Exp $ */
/* $NetBSD: wskbd.c,v 1.38 2000/03/23 07:01:47 thorpej Exp $ */
/*
@@ -1569,8 +1569,7 @@ wskbd_translate(id, type, value)
KS_GROUP(group[1]) == KS_GROUP_Keypad)
ksym = group[!MOD_ONESET(id, MOD_ANYSHIFT)];
else
- ksym = group[MOD_ONESET(id, MOD_CAPSLOCK) ^
- MOD_ONESET(id, MOD_ANYSHIFT)];
+ ksym = group[MOD_ONESET(id, MOD_CAPSLOCK|MOD_ANYSHIFT);
/* Process compose sequence and dead accents */
res = KS_voidSymbol;