From d358810a5f421f63c50205bafc99fff05bc8d470 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Mon, 20 Aug 2007 09:38:38 +0200 Subject: [PATCH] move-link-prev(next)-line: Typo with cut-n-paste. s/line/last/. (cherry picked from commit 848852b75f93aae3d86c565f09283bc3e579fb2b) (cherry picked from commit 64c385f0db8dcff54b526a6ca5c3cc0ed0c79007) --- src/viewer/text/view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/viewer/text/view.c b/src/viewer/text/view.c index b32b87ffa..295faac49 100644 --- a/src/viewer/text/view.c +++ b/src/viewer/text/view.c @@ -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; }