summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libview/ev-view.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index f2f8d0e8..5146d6cc 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -5403,6 +5403,9 @@ ev_view_move_cursor (EvView *view,
gtk_widget_error_bell (GTK_WIDGET (view));
return TRUE;
}
+
+ if (!get_caret_cursor_area (view, view->cursor_page, view->cursor_offset, &rect))
+ return TRUE;
} else {
view->cursor_line_offset = rect.x;
}