mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 22:43:46 +01:00
Remove extra new lines
This commit is contained in:
parent
cb887221e1
commit
c46fc2a5ba
@ -1491,10 +1491,8 @@ adjust_view(zathura_t* zathura)
|
|||||||
if (adjust_mode == ZATHURA_ADJUST_WIDTH ||
|
if (adjust_mode == ZATHURA_ADJUST_WIDTH ||
|
||||||
(adjust_mode == ZATHURA_ADJUST_BESTFIT && page_ratio < view_ratio)) {
|
(adjust_mode == ZATHURA_ADJUST_BESTFIT && page_ratio < view_ratio)) {
|
||||||
newscale *= (double)view_width / (double)document_width;
|
newscale *= (double)view_width / (double)document_width;
|
||||||
|
|
||||||
} else if (adjust_mode == ZATHURA_ADJUST_BESTFIT) {
|
} else if (adjust_mode == ZATHURA_ADJUST_BESTFIT) {
|
||||||
newscale *= (double)view_height / (double)cell_height;
|
newscale *= (double)view_height / (double)cell_height;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
goto error_ret;
|
goto error_ret;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user