summaryrefslogtreecommitdiff
path: root/lib/libX11/src/xkb/XKBCvt.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libX11/src/xkb/XKBCvt.c')
-rw-r--r--lib/libX11/src/xkb/XKBCvt.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libX11/src/xkb/XKBCvt.c b/lib/libX11/src/xkb/XKBCvt.c
index 5317a0a5c..8cef2f729 100644
--- a/lib/libX11/src/xkb/XKBCvt.c
+++ b/lib/libX11/src/xkb/XKBCvt.c
@@ -57,7 +57,6 @@ from The Open Group.
static int
_XkbHandleSpecialSym(KeySym keysym, char *buffer, int nbytes, int *extra_rtrn)
{
-
/* try to convert to Latin-1, handling ctrl */
if (!(((keysym >= XK_BackSpace) && (keysym <= XK_Clear)) ||
(keysym == XK_Return) || (keysym == XK_Escape) ||
@@ -75,8 +74,6 @@ _XkbHandleSpecialSym(KeySym keysym, char *buffer, int nbytes, int *extra_rtrn)
/* if X keysym, convert to ascii by grabbing low 7 bits */
if (keysym == XK_KP_Space)
buffer[0] = XK_space & 0x7F; /* patch encoding botch */
- else if (keysym == XK_hyphen)
- buffer[0] = (char) (XK_minus & 0xFF); /* map to equiv character */
else
buffer[0] = (char) (keysym & 0x7F);
return 1;