1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

Check if nothing has found. Refs #21

This commit is contained in:
Witold Filipczyk 2018-04-15 18:08:54 +02:00
parent ad5f8165b2
commit f2c0a380ab

View File

@ -978,6 +978,9 @@ get_searched_all(struct session *ses, struct document_view *doc_view, struct poi
#endif #endif
get_searched_plain_all(doc_view, pt, pl, l, s1, s2, utf8); get_searched_plain_all(doc_view, pt, pl, l, s1, s2, utf8);
if (*pt == NULL)
return FIND_ERROR_NOT_FOUND;
return move_search_do(ses, doc_view, 0); return move_search_do(ses, doc_view, 0);
} }