From e6f23fd2354d0ae0bc397b17e27c81f2310f87a4 Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Thu, 20 Jun 2013 20:21:40 +0200 Subject: [PATCH] CS Signed-off-by: Sebastian Ramacher --- shortcuts.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shortcuts.c b/shortcuts.c index 9776901..6643a0f 100644 --- a/shortcuts.c +++ b/shortcuts.c @@ -730,7 +730,7 @@ sc_jumplist(girara_session_t* session, girara_argument_t* argument, zathura_jump_t* prev_jump = zathura_jumplist_current(zathura); bool go_to_current = false; - if (!zathura_jumplist_has_next(zathura) || !zathura_jumplist_has_previous(zathura)) { + if (zathura_jumplist_has_next(zathura) == false || zathura_jumplist_has_previous(zathura) == false) { if (x == prev_jump->x && y == prev_jump->y) { go_to_current = false; } else { @@ -758,8 +758,8 @@ sc_jumplist(girara_session_t* session, girara_argument_t* argument, } if (jump == prev_jump) { - if (zathura_jumplist_has_previous(zathura) == false && argument->n == BACKWARD || - zathura_jumplist_has_next(zathura) == false && argument->n == FORWARD) { + if ((zathura_jumplist_has_previous(zathura) == false && argument->n == BACKWARD) || + (zathura_jumplist_has_next(zathura) == false && argument->n == FORWARD)) { jump = NULL; } }