mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 23:03:48 +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
@ -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 New Issue
Block a user