Pass hadjustment to set_adjustment() instead of vadjustment.

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
Marwan Tanager 2013-02-08 13:43:03 +02:00 committed by Sebastian Ramacher
parent 3f20ede9ab
commit 815c51d066

View File

@ -372,7 +372,7 @@ readjust_view_after_zooming(zathura_t *zathura, float old_zoom, bool delay)
if (delay == true) {
position_set_delayed(zathura, valx, valy);
} else {
set_adjustment(vadjustment, valx);
set_adjustment(hadjustment, valx);
set_adjustment(vadjustment, valy);
}
}