mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-02-27 20:54:39 +01:00
Fix type
This commit is contained in:
parent
f04dc0062f
commit
338986283e
1 changed files with 1 additions and 1 deletions
|
@ -1696,7 +1696,7 @@ adjust_view(zathura_t* zathura)
|
||||||
* XXX requiring a larger difference apparently circumvents #94 for some users; this is not a
|
* XXX requiring a larger difference apparently circumvents #94 for some users; this is not a
|
||||||
* proper fix
|
* proper fix
|
||||||
*/
|
*/
|
||||||
static const unsigned int min_change = 2;
|
static const int min_change = 2;
|
||||||
/* if the change in zoom changes page cell dimensions, render */
|
/* if the change in zoom changes page cell dimensions, render */
|
||||||
if (abs((int)new_cell_width - (int)cell_width) > min_change ||
|
if (abs((int)new_cell_width - (int)cell_width) > min_change ||
|
||||||
abs((int)new_cell_height - (int)cell_height) > min_change) {
|
abs((int)new_cell_height - (int)cell_height) > min_change) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue