Commit f205cf9d authored by Sebastian Ramacher's avatar Sebastian Ramacher

Fix a typo

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent 2f53f09e
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment