mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[search] Check NULL. Refs #99
This commit is contained in:
parent
acbcfd2eba
commit
89a5f106ef
@ -1370,6 +1370,11 @@ move_search_number(struct session *ses, struct document_view *doc_view, int numb
|
||||
|
||||
doc_view->vs->current_search_number = number;
|
||||
pt = doc_view->document->search_points;
|
||||
|
||||
if (!pt) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
x = pt[number].x;
|
||||
y = pt[number].y;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user