summaryrefslogtreecommitdiff
path: root/shells/tcsh/patches/patch-ac
blob: d68868ef70e5db0977ca4e09b92448e7aed526ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ac,v 1.15 2012/05/26 08:34:14 he Exp $

Fix problem with Meta-<key> no longer being recognized,
patch from christos@.

--- ed.inputl.c.orig	2010-12-22 17:26:04.000000000 +0000
+++ ed.inputl.c
@@ -683,7 +683,7 @@ GetNextCommand(KEYCMD *cmdnum, Char *ch)
 #ifdef DSPMBYTE
 	     _enable_mbdisp &&
 #else
-	     MB_CUR_MAX == 1 &&
+	     MB_LEN_MAX == 1 &&
 #endif
 	     !adrof(STRnokanji) && (*ch & META)) {
 	    MetaNext = 0;