From 2cec7aae44579d9d8ca8c7e728f9eb6e2840d72f Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 22 Apr 2008 15:08:04 +0000 Subject: 24861 (with tweaks): logic to use alternative wcwidth() if needed; slightly improve test for overwriting with combining characters. --- Src/Zle/complist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/Zle/complist.c') diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index 651a5103c..1543a1506 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -1017,7 +1017,7 @@ compprintfmt(char *fmt, int n, int dopr, int doesc, int ml, int *stop) } else #endif - width = WCWIDTH(cchar); + width = WCWIDTH_WINT(cchar); if (doesc && cchar == ZWC('%')) { p += len; -- cgit 1.4.1