mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05: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:
parent
54416c0fa5
commit
f7bbd09c07
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user