back out change in findnexstr that was causing more bugs *sigh*
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@213 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
2dc0f6b2bf
commit
b9bfc9bc4f
|
@ -11,6 +11,9 @@ CVS code -
|
||||||
- Added check for _POSIX_VDISABLE and use raw mode if not
|
- Added check for _POSIX_VDISABLE and use raw mode if not
|
||||||
available, allows nano to work with cygwin.
|
available, allows nano to work with cygwin.
|
||||||
- Added gettext calls to enable/disable strings (Jordi).
|
- Added gettext calls to enable/disable strings (Jordi).
|
||||||
|
- search.c:
|
||||||
|
findnextstr()
|
||||||
|
- Reset starting at current for search instead of begin.
|
||||||
- es.po:
|
- es.po:
|
||||||
- Translated new strings and minor updates (Jordi).
|
- Translated new strings and minor updates (Jordi).
|
||||||
|
|
||||||
|
|
2
search.c
2
search.c
|
@ -134,7 +134,7 @@ filestruct *findnextstr(int quiet, filestruct * begin, char *needle)
|
||||||
char *searchstr, *found = NULL, *tmp;
|
char *searchstr, *found = NULL, *tmp;
|
||||||
int past_editbot = 0;
|
int past_editbot = 0;
|
||||||
|
|
||||||
fileptr = begin;
|
fileptr = current;
|
||||||
|
|
||||||
searchstr = ¤t->data[current_x + 1];
|
searchstr = ¤t->data[current_x + 1];
|
||||||
/* Look for searchstr until EOF */
|
/* Look for searchstr until EOF */
|
||||||
|
|
Loading…
Reference in New Issue