From 2af3904099f274a567348c2634ef8fe412d7038f Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Wed, 14 Mar 2001 10:19:10 +0000 Subject: [PATCH] Oops, missed one loop git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@561 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- nano.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nano.c b/nano.c index e405679f..10374d93 100644 --- a/nano.c +++ b/nano.c @@ -921,8 +921,7 @@ void do_wrap(filestruct * inptr, char input_char) space or tab, then null terminate it so we can strcat it to hell */ while ((inptr->next->data[non] == ' ' - || inptr->next->data[non] == '\t') - && inptr->next->data[non] != 0) + || inptr->next->data[non] == '\t')) p[non] = inptr->next->data[non++]; p[non] = 0; -- 2.39.5