From 4cd4638fd88e336f1d82b93f9df2b84f1bb167bf Mon Sep 17 00:00:00 2001 From: Moritz Lipp Date: Fri, 20 Apr 2012 23:39:34 +0200 Subject: [PATCH] Allow to zoom in n times --- shortcuts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shortcuts.c b/shortcuts.c index 917303c..be40e2c 100644 --- a/shortcuts.c +++ b/shortcuts.c @@ -949,7 +949,7 @@ sc_zoom(girara_session_t* session, girara_argument_t* argument, girara_event_t* int value = 1; girara_setting_get(zathura->ui.session, "zoom-step", &value); - float zoom_step = value / 100.0f; + float zoom_step = value / 100.0f * t; float old_zoom = zathura_document_get_scale(zathura->document); /* specify new zoom value */