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
Marius
zathura
Commits
f205cf9d
Commit
f205cf9d
authored
Jun 24, 2014
by
Sebastian Ramacher
Browse files
Fix a typo
Signed-off-by:
Sebastian Ramacher
<
sebastian+dev@ramacher.at
>
parent
2f53f09e
Changes
1
Hide whitespace changes
Inline
Side-by-side
callbacks.c
View file @
f205cf9d
...
@@ -165,7 +165,7 @@ cb_view_adjustment_changed(GtkAdjustment* adjustment, zathura_t* zathura,
...
@@ -165,7 +165,7 @@ cb_view_adjustment_changed(GtkAdjustment* adjustment, zathura_t* zathura,
/* reset the adjustment, in case bounds have changed */
/* reset the adjustment, in case bounds have changed */
const
double
ratio
=
width
==
true
?
const
double
ratio
=
width
==
true
?
zathura_document_get_position_x
(
zathura
->
document
)
:
zathura_document_get_position_x
(
zathura
->
document
)
:
zathura_document_get_position_
x
(
zathura
->
document
);
zathura_document_get_position_
y
(
zathura
->
document
);
zathura_adjustment_set_value_from_ratio
(
adjustment
,
ratio
);
zathura_adjustment_set_value_from_ratio
(
adjustment
,
ratio
);
}
}
...
...
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