1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-25 01:05:37 +00:00

[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

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)) {