1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

move-link-prev(next)-line: Typo with cut-n-paste. s/line/last/.

This commit is contained in:
Witold Filipczyk 2007-08-20 09:38:38 +02:00 committed by Witold Filipczyk
parent c646c860cd
commit 848852b75f

View File

@ -750,7 +750,7 @@ move_link_prev_line(struct session *ses, struct document_view *doc_view)
y += mini;
}
status = move_cursor_rel(ses, doc_view, last->points[0].x - x1, y - y1);
if (link == get_current_link(doc_view))
if (last == get_current_link(doc_view))
ses->navigate_mode = NAVIGATE_LINKWISE;
return status;
}
@ -817,7 +817,7 @@ move_link_next_line(struct session *ses, struct document_view *doc_view)
y -= mini;
}
status = move_cursor_rel(ses, doc_view, last->points[0].x - x1, y - y1);
if (link == get_current_link(doc_view))
if (last == get_current_link(doc_view))
ses->navigate_mode = NAVIGATE_LINKWISE;
return status;
}