diff --git a/ChangeLog b/ChangeLog index bbebfd92315a4cd3c26939fd55b693ede6d55529..79ff502a8428c3a1d54ab41e29331fb33c1b9b31 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,9 @@ CVS code - - Added check for _POSIX_VDISABLE and use raw mode if not available, allows nano to work with cygwin. - Added gettext calls to enable/disable strings (Jordi). +- search.c: + findnextstr() + - Reset starting at current for search instead of begin. - es.po: - Translated new strings and minor updates (Jordi). diff --git a/search.c b/search.c index 477b34fcf2663ee99a313aedf1deae3a7616aafe..f6b63f7dedd18e16f7511a7120841ed6b3a424f0 100644 --- a/search.c +++ b/search.c @@ -134,7 +134,7 @@ filestruct *findnextstr(int quiet, filestruct * begin, char *needle) char *searchstr, *found = NULL, *tmp; int past_editbot = 0; - fileptr = begin; + fileptr = current; searchstr = ¤t->data[current_x + 1]; /* Look for searchstr until EOF */