mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
move-link-prev(next)-line: Typo with cut-n-paste. s/line/last/.
(cherry picked from commit 848852b75f93aae3d86c565f09283bc3e579fb2b) (cherry picked from commit 64c385f0db8dcff54b526a6ca5c3cc0ed0c79007)
This commit is contained in:
parent
d1d8c0632a
commit
d358810a5f
@ -750,7 +750,7 @@ move_link_prev_line(struct session *ses, struct document_view *doc_view)
|
|||||||
y += mini;
|
y += mini;
|
||||||
}
|
}
|
||||||
status = move_cursor_rel(ses, doc_view, last->points[0].x - x1, y - y1);
|
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;
|
ses->navigate_mode = NAVIGATE_LINKWISE;
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
@ -817,7 +817,7 @@ move_link_next_line(struct session *ses, struct document_view *doc_view)
|
|||||||
y -= mini;
|
y -= mini;
|
||||||
}
|
}
|
||||||
status = move_cursor_rel(ses, doc_view, last->points[0].x - x1, y - y1);
|
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;
|
ses->navigate_mode = NAVIGATE_LINKWISE;
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user