mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 06:26:01 +01:00
Be consistent with earlier versions
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
4c88e9d1ef
commit
086d49bb1a
1 changed files with 1 additions and 1 deletions
|
@ -534,7 +534,7 @@ zathura_document_set_page_layout(zathura_document_t* document, unsigned int page
|
|||
if (first_page_column < 1) {
|
||||
first_page_column = 1;
|
||||
} else if (first_page_column > pages_per_row) {
|
||||
first_page_column = pages_per_row;
|
||||
first_page_column = ((first_page_column - 1) % pages_per_row) + 1;
|
||||
}
|
||||
|
||||
document->first_page_column = first_page_column;
|
||||
|
|
Loading…
Reference in a new issue