From: David Lawrence Ramsey Date: Sat, 18 Dec 2004 22:43:23 +0000 (+0000) Subject: another cosmetic fix X-Git-Tag: v1.3.6~215 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e750fe68cf7934c7e783f25d793526064aa0d17d;p=nano.git another cosmetic fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2187 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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);