Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
e6f23fd2
Commit
e6f23fd2
authored
Jun 20, 2013
by
Sebastian Ramacher
Browse files
CS
Signed-off-by:
Sebastian Ramacher
<
sebastian+dev@ramacher.at
>
parent
8549abaa
Changes
1
Hide whitespace changes
Inline
Side-by-side
shortcuts.c
View file @
e6f23fd2
...
@@ -730,7 +730,7 @@ sc_jumplist(girara_session_t* session, girara_argument_t* argument,
...
@@ -730,7 +730,7 @@ sc_jumplist(girara_session_t* session, girara_argument_t* argument,
zathura_jump_t
*
prev_jump
=
zathura_jumplist_current
(
zathura
);
zathura_jump_t
*
prev_jump
=
zathura_jumplist_current
(
zathura
);
bool
go_to_current
=
false
;
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
)
{
if
(
x
==
prev_jump
->
x
&&
y
==
prev_jump
->
y
)
{
go_to_current
=
false
;
go_to_current
=
false
;
}
else
{
}
else
{
...
@@ -758,8 +758,8 @@ sc_jumplist(girara_session_t* session, girara_argument_t* argument,
...
@@ -758,8 +758,8 @@ sc_jumplist(girara_session_t* session, girara_argument_t* argument,
}
}
if
(
jump
==
prev_jump
)
{
if
(
jump
==
prev_jump
)
{
if
(
zathura_jumplist_has_previous
(
zathura
)
==
false
&&
argument
->
n
==
BACKWARD
||
if
(
(
zathura_jumplist_has_previous
(
zathura
)
==
false
&&
argument
->
n
==
BACKWARD
)
||
zathura_jumplist_has_next
(
zathura
)
==
false
&&
argument
->
n
==
FORWARD
)
{
(
zathura_jumplist_has_next
(
zathura
)
==
false
&&
argument
->
n
==
FORWARD
)
)
{
jump
=
NULL
;
jump
=
NULL
;
}
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment