From 9f52c6c6cf3963eea255a299af262818538d2b67 Mon Sep 17 00:00:00 2001 From: neldoreth Date: Mon, 12 Apr 2010 19:30:48 +0200 Subject: [PATCH] Fixed zoom function This commit repairs the zoom function that did not work through the automatic adjust patch. --- zathura.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zathura.c b/zathura.c index 25f7f62..fb61c78 100644 --- a/zathura.c +++ b/zathura.c @@ -2658,6 +2658,8 @@ bcmd_scroll(char* buffer, Argument* argument) void bcmd_zoom(char* buffer, Argument* argument) { + Zathura.Global.adjust_mode = ADJUST_NONE; + if(argument->n == ZOOM_IN) { if((Zathura.PDF.scale + ZOOM_STEP) <= ZOOM_MAX)