git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_1_0_branch/nano@1004
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
do_suspend()
- Call tcsetattr() to restore the old terminal settings, so
tcsh can use ^C after suspend for example (fixes BUG #68).
+ do_wrap()
+ - Move "right" increment to part where new line is created,
+ should change (fix?) some wrapping problems with autoindent.
- search.c:
findnextstr()
- Fix off by one in check for wrap around (Rocco Corsi).
while ((inptr->next->data[i] == ' '
|| inptr->next->data[i] == '\t')) {
i++;
- right++;
}
}
down = 1;
while ((inptr->next->data[i] == ' '
|| inptr->next->data[i] == '\t')) {
i++;
- right++;
}
}
extra++;
spc++;
totsize++;
+ right++;
}
t = nmalloc(strlen(temp->data) + extra + 1);
strncpy(t, inptr->data, extra);