nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 2af3904099f274a567348c2634ef8fe412d7038f
parent 0b33d8864a0a9e07f66509c5933fc34dfa9b56b5
Author: Chris Allegretta <chrisa@asty.org>
Date:   Wed, 14 Mar 2001 10:19:10 +0000

Oops, missed one loop


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@561 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
Mnano.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 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;