Oops, missed one loop

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@561 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Chris Allegretta 2001-03-14 10:19:10 +00:00
parent 0b33d8864a
commit 2af3904099
1 changed files with 1 additions and 2 deletions

3
nano.c
View File

@ -921,8 +921,7 @@ void do_wrap(filestruct * inptr, char input_char)
space or tab, then null terminate it so we can strcat it space or tab, then null terminate it so we can strcat it
to hell */ to hell */
while ((inptr->next->data[non] == ' ' while ((inptr->next->data[non] == ' '
|| inptr->next->data[non] == '\t') || inptr->next->data[non] == '\t'))
&& inptr->next->data[non] != 0)
p[non] = inptr->next->data[non++]; p[non] = inptr->next->data[non++];
p[non] = 0; p[non] = 0;