mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-15 09:46:01 +01:00
CS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
3629e3acd2
commit
834bc8f4c9
1 changed files with 3 additions and 3 deletions
|
@ -177,7 +177,7 @@ sc_adjust_window(girara_session_t* session, girara_argument_t* argument,
|
||||||
gtk_widget_get_requisition(vscrollbar, &requisition);
|
gtk_widget_get_requisition(vscrollbar, &requisition);
|
||||||
scroll_width = requisition.width;
|
scroll_width = requisition.width;
|
||||||
#endif
|
#endif
|
||||||
if (0 < scroll_width && (unsigned)scroll_width < width) {
|
if (0 < scroll_width && (unsigned int)scroll_width < width) {
|
||||||
width -= scroll_width;
|
width -= scroll_width;
|
||||||
scale = (double)(width - (pages_per_row - 1) * padding) /
|
scale = (double)(width - (pages_per_row - 1) * padding) /
|
||||||
(double)(pages_per_row * cell_width);
|
(double)(pages_per_row * cell_width);
|
||||||
|
|
Loading…
Reference in a new issue