git-svn-id: svn://svn.savannah.gnu.org/nano/branches/nano_1_0_branch/nano@1003
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).
+- search.c:
+ findnextstr()
+ - Fix off by one in check for wrap around (Rocco Corsi).
- winio.c:
edit_refresh()
- Rename lines to nlines to fix AIX breakage (reported by
current_x_find++;
/* Ensure we haven't wrapped around again! */
- if ((search_last_line) && (current_x_find >= beginx)) {
+ if ((search_last_line) && (current_x_find > beginx)) {
if (!quiet)
not_found_msg(needle);
return NULL;