summaryrefslogtreecommitdiff
path: root/libview
diff options
context:
space:
mode:
Diffstat (limited to 'libview')
-rw-r--r--libview/ev-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index fe44c85f..ccafff7b 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -1154,7 +1154,7 @@ ev_view_get_max_page_size (EvView *view,
static void
get_page_y_offset (EvView *view, int page, int *y_offset)
{
- int max_width, offset;
+ int max_width, offset = 0;
GtkBorder border;
g_return_if_fail (y_offset != NULL);