commit e750fe68cf7934c7e783f25d793526064aa0d17d
parent 4564170c6189d9ac23c4c745f4bf93b227bbaad2
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Sat, 18 Dec 2004 22:43:23 +0000
another cosmetic fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2187 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);