mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[renderer] Reorder instructions
This commit is contained in:
parent
9e3d874577
commit
9e743f0e80
@ -616,6 +616,10 @@ scan_document(struct document_view *doc_view)
|
||||
{
|
||||
int y, x;
|
||||
|
||||
if (!doc_view || !doc_view->document) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (doc_view->document->hh) {
|
||||
free_hash(&doc_view->document->hh);
|
||||
}
|
||||
@ -624,11 +628,6 @@ scan_document(struct document_view *doc_view)
|
||||
if (!doc_view->document->hh) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!doc_view || !doc_view->document) {
|
||||
return;
|
||||
}
|
||||
|
||||
prev_offset = 0;
|
||||
prev_element = NULL;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user