From 691dd7e5294d232a7ab8327e2038f9779732fa3c Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 24 Feb 2005 15:32:36 +0000 Subject: 20861: Fix statusline in Unicode, apart from isearch --- Src/Zle/zle_vi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Src/Zle/zle_vi.c') diff --git a/Src/Zle/zle_vi.c b/Src/Zle/zle_vi.c index e4a36b219..f44452550 100644 --- a/Src/Zle/zle_vi.c +++ b/Src/Zle/zle_vi.c @@ -831,8 +831,8 @@ vicapslockpanic(UNUSED(char **args)) { clearlist = 1; zbeep(); - statusline = "press a lowercase key to continue"; - statusll = strlen(statusline); + statusline = ZWS("press a lowercase key to continue"); + statusll = ZS_strlen(statusline); zrefresh(); #ifdef ZLE_UNICODE_SUPPORT while (!iswlower(getfullchar(0))); -- cgit 1.4.1