Oops, missed one loop
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@561 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
0b33d8864a
commit
2af3904099
3
nano.c
3
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
|
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;
|
||||||
|
|
Loading…
Reference in New Issue