]> git.wh0rd.org Git - nano.git/commitdiff
Oops, missed one loop
authorChris Allegretta <chrisa@asty.org>
Wed, 14 Mar 2001 10:19:10 +0000 (10:19 +0000)
committerChris Allegretta <chrisa@asty.org>
Wed, 14 Mar 2001 10:19:10 +0000 (10:19 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@561 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

nano.c

diff --git a/nano.c b/nano.c
index e405679fe2cf32674f46db0750541d8367778d71..10374d932c9e781f74cbcf6e68856bd02fcc30b4 100644 (file)
--- 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;