1
0
Fork 0

[view] Commented code which caused segfault

When document had no links, "move down" caused segfault.
Bad code was introduced with iframe code.
iframes are not ready yet.
This commit is contained in:
Witold Filipczyk 2023-06-23 10:45:41 +02:00
parent 54416c0fa5
commit f7bbd09c07
1 changed files with 4 additions and 1 deletions

View File

@ -260,12 +260,15 @@ move_link(struct session *ses, struct document_view *doc_view, int direction,
* page_down() and set_textarea() under some conditions
* as well. --pasky */
continue;
} else {
}
#if 0
else {
if (next_link_in_view_y(doc_view, current_link + direction,
direction)) {
continue;
}
}
#endif
} else {
if (next_link_in_view_y(doc_view, current_link + direction,
direction)) {