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:
parent
ad5f8165b2
commit
f2c0a380ab
@ -978,6 +978,9 @@ get_searched_all(struct session *ses, struct document_view *doc_view, struct poi
|
||||
#endif
|
||||
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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user