From e750fe68cf7934c7e783f25d793526064aa0d17d Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Sat, 18 Dec 2004 22:43:23 +0000 Subject: [PATCH] another cosmetic fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2187 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- src/nano.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nano.c b/src/nano.c index 03111f2a..2bbf3682 100644 --- a/src/nano.c +++ b/src/nano.c @@ -3645,7 +3645,7 @@ void do_output(int *kbinput, size_t kbinput_len) #ifndef DISABLE_WRAPPING /* If we're wrapping text, we need to call edit_refresh(). */ - if (!ISSET(NO_WRAP) && (key[0] != '\t' || key_len != 1)) { + if (!ISSET(NO_WRAP) && kbinput[i] != '\t') { bool do_refresh_save = do_refresh; do_refresh = do_wrap(current); -- 2.39.5