mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-02-27 21:34:39 +01:00
Update coding standard
This commit is contained in:
parent
32d90379bc
commit
686abbf588
1 changed files with 2 additions and 1 deletions
|
@ -85,8 +85,9 @@ cb_pages_per_row_value_changed(girara_session_t* session, girara_setting_t* sett
|
||||||
int pages_per_row = setting->value.i;
|
int pages_per_row = setting->value.i;
|
||||||
zathura_t* zathura = setting->data;
|
zathura_t* zathura = setting->data;
|
||||||
|
|
||||||
if (pages_per_row < 1)
|
if (pages_per_row < 1) {
|
||||||
pages_per_row = 1;
|
pages_per_row = 1;
|
||||||
|
}
|
||||||
|
|
||||||
page_view_set_mode(zathura, pages_per_row);
|
page_view_set_mode(zathura, pages_per_row);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue