From 99a03faed1e9bba11e96c87d7803a2c69fefeffd Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Sun, 3 Mar 2013 02:26:08 +0100 Subject: [PATCH] CS Signed-off-by: Sebastian Ramacher --- shortcuts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shortcuts.c b/shortcuts.c index 4821895..80a1a37 100644 --- a/shortcuts.c +++ b/shortcuts.c @@ -551,7 +551,7 @@ sc_rotate(girara_session_t* session, girara_argument_t* argument, bool sc_scroll(girara_session_t* session, girara_argument_t* argument, - girara_event_t* UNUSED(event), unsigned int t) + girara_event_t* UNUSED(event), unsigned int t) { g_return_val_if_fail(session != NULL, false); g_return_val_if_fail(session->global.data != NULL, false); @@ -561,7 +561,7 @@ sc_scroll(girara_session_t* session, girara_argument_t* argument, return false; } - if (!t){ + if (t == 0) { t = 1; }