mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 14:35:59 +01:00
CS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
7841eea2eb
commit
99a03faed1
1 changed files with 2 additions and 2 deletions
|
@ -551,7 +551,7 @@ sc_rotate(girara_session_t* session, girara_argument_t* argument,
|
||||||
|
|
||||||
bool
|
bool
|
||||||
sc_scroll(girara_session_t* session, girara_argument_t* argument,
|
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 != NULL, false);
|
||||||
g_return_val_if_fail(session->global.data != 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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!t){
|
if (t == 0) {
|
||||||
t = 1;
|
t = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue