From e0acc158e0e24d2f5d0d482ca7eaa20ad83e0f82 Mon Sep 17 00:00:00 2001 From: "Nickolay V. Shmyrev" <nshmyrev@src.gnome.org> Date: Sun, 25 Dec 2005 21:45:37 +0000 Subject: [PATCH] Fix very small typo. --- shell/ev-view.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/shell/ev-view.c b/shell/ev-view.c index 9c7779b2..d8eb8ac2 100644 --- a/shell/ev-view.c +++ b/shell/ev-view.c @@ -319,8 +319,11 @@ scroll_to_current_page (EvView *view, GtkOrientation orientation) doc_point_to_view_point (view, view->current_page, &view->pending_point, &view_point); - view->pending_point.x = 0; - view->pending_point.y = 0; + if (orientation == GTK_ORIENTATION_VERTICAL) { + view->pending_point.y = 0; + } else { + view->pending_point.x = 0; + } if (orientation == GTK_ORIENTATION_VERTICAL) { if (view->continuous) { -- 2.43.5