No matter what the value of n was, the "n=" shortcut would set the zoom
value to 100%. It is now set to n% instead.

See issue #273 <http://bugs.pwmt.org/issue273>.

Reported-by: Kamil Smardzewski <roderyk...@gmail.com>
---
 config.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config.c b/config.c
index 52625d3..38ce7fe 100644
--- a/config.c
+++ b/config.c
@@ -304,8 +304,8 @@ config_load_default(zathura_t* zathura)
   girara_shortcut_add(gsession, 0,                GDK_KEY_KP_Subtract,NULL, 
sc_zoom,                     NORMAL,     ZOOM_OUT,        NULL);
   girara_shortcut_add(gsession, 0,                GDK_KEY_minus,      NULL, 
sc_zoom,                     FULLSCREEN, ZOOM_OUT,        NULL);
   girara_shortcut_add(gsession, 0,                GDK_KEY_KP_Subtract,NULL, 
sc_zoom,                     FULLSCREEN, ZOOM_OUT,        NULL);
-  girara_shortcut_add(gsession, 0,                GDK_KEY_equal,      NULL, 
sc_zoom,                     NORMAL,     ZOOM_ORIGINAL,   NULL);
-  girara_shortcut_add(gsession, 0,                GDK_KEY_equal,      NULL, 
sc_zoom,                     FULLSCREEN, ZOOM_ORIGINAL,   NULL);
+  girara_shortcut_add(gsession, 0,                GDK_KEY_equal,      NULL, 
sc_zoom,                     NORMAL,     ZOOM_SPECIFIC,   NULL);
+  girara_shortcut_add(gsession, 0,                GDK_KEY_equal,      NULL, 
sc_zoom,                     FULLSCREEN, ZOOM_SPECIFIC,   NULL);
   girara_shortcut_add(gsession, 0,                0,                  "zi", 
sc_zoom,                     NORMAL,     ZOOM_IN,         NULL);
   girara_shortcut_add(gsession, 0,                0,                  "zi", 
sc_zoom,                     FULLSCREEN, ZOOM_IN,         NULL);
   girara_shortcut_add(gsession, 0,                0,                  "zI", 
sc_zoom,                     NORMAL,     ZOOM_IN,         NULL);
-- 
1.7.10.4

_______________________________________________
zathura mailing list
zathura@lists.pwmt.org
http://lists.pwmt.org/mailman/listinfo/zathura

Reply via email to