mirror of
git://git.sv.gnu.org/nano.git
synced 2024-12-25 20:06:52 +03:00
Oops, missed one loop
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@561 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
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
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user