shorcut_init()
- Replace hard coded ALT_G and ALT_H values in the replace
and goto shortcuts with their macro counterparts NANO_ALT_*_KEY.
+- 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 = found - fileptr->data;
#if 1
/* 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;