1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[search] Set current_search_number to -1. Refs #76

This commit is contained in:
Witold Filipczyk 2020-11-01 14:57:25 +01:00
parent 073a4374ff
commit 0989068e5c

View File

@ -1319,6 +1319,7 @@ move_search_do(struct session *ses, struct document_view *doc_view, int directio
#else #else
int utf8 = 0; int utf8 = 0;
#endif #endif
doc_view->vs->current_search_number = -1;
enum find_error error = get_searched_all(ses, doc_view, &doc_view->document->search_points, enum find_error error = get_searched_all(ses, doc_view, &doc_view->document->search_points,
&doc_view->document->number_of_search_points, utf8); &doc_view->document->number_of_search_points, utf8);