From 8863f4335f2e15cae5f424fd80ae05a6504ed914 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Tue, 14 Aug 2007 21:16:16 +0200 Subject: [PATCH] Fixed the issue with multiline links. (cherry picked from commit 3555f68059035c786211a2bad38718d0c462033b) --- src/viewer/text/view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viewer/text/view.c b/src/viewer/text/view.c index c208efed..46926d90 100644 --- a/src/viewer/text/view.c +++ b/src/viewer/text/view.c @@ -721,7 +721,7 @@ move_link_vertical(struct session *ses, struct document_view *doc_view, int dir_ enum frame_event_status status = move_cursor_rel(ses, doc_view, 0, y - y1); - if (vs->current_link != -1) + if (link == get_current_link(doc_view)) ses->navigate_mode = NAVIGATE_LINKWISE; return status; } -- 2.11.4.GIT