From: Chris Allegretta Date: Wed, 14 Mar 2001 10:19:10 +0000 (+0000) Subject: Oops, missed one loop X-Git-Tag: v1.0.0~12 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=2af3904099f274a567348c2634ef8fe412d7038f;p=nano.git Oops, missed one loop git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@561 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- 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;