From: Nickolay V. Shmyrev Date: Sun, 25 Dec 2005 21:45:37 +0000 (+0000) Subject: Fix very small typo. X-Git-Tag: EVINCE_0_5_0~44 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=e0acc158e0e24d2f5d0d482ca7eaa20ad83e0f82;p=evince.git Fix very small typo. --- 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) {