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
dd99eca7
Commit
dd99eca7
authored
Jun 16, 2012
by
Moritz Lipp
Browse files
Fix render_thread_sort
parent
2acd67c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
render.c
View file @
dd99eca7
...
...
@@ -220,9 +220,9 @@ render_thread_sort(gconstpointer a, gconstpointer b, gpointer data)
g_object_get
(
zathura
->
pages
[
page_a_index
],
"last-view"
,
&
last_view_a
,
NULL
);
g_object_get
(
zathura
->
pages
[
page_b_index
],
"last-view"
,
&
last_view_b
,
NULL
);
if
(
last_view_a
>
last_view_b
)
{
if
(
last_view_a
<
last_view_b
)
{
return
-
1
;
}
else
if
(
last_view_
b
>
last_view_
a
)
{
}
else
if
(
last_view_
a
>
last_view_
b
)
{
return
1
;
}
...
...
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