mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 18:46:00 +01:00
Fix a typo
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
2f53f09e7d
commit
f205cf9dab
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ cb_view_adjustment_changed(GtkAdjustment* adjustment, zathura_t* zathura,
|
|||
/* reset the adjustment, in case bounds have changed */
|
||||
const double ratio = width == true ?
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue