summaryrefslogtreecommitdiffstats
path: root/sys-apps/kbd/files/kbd-1.12-Meta_utf8.patch
blob: 9bc68b69745aede5671d1ebcc5ad53941a7bc4fb (plain)
1
2
3
4
5
6
7
8
9
10
11
--- kbd-1.12/src/ksyms.c.org	2005-01-11 16:38:32.000000000 +0100
+++ kbd-1.12/src/ksyms.c	2005-01-11 16:46:19.000000000 +0100
@@ -1710,6 +1710,8 @@
 		keycode = ksymtocode(s+5);
 		if (KTYP(keycode) == KT_LATIN)
 			return K(KT_META, KVAL(keycode));
+		else if(prefer_unicode)
+		        return (0);
 		/* fall through to error printf */
 	}