mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-12 04:27:51 -05:00
render: simply check for an invalid (not set) scaling factor
This commit is contained in:
parent
0935428695
commit
0e7e7b769b
1 changed files with 1 additions and 1 deletions
2
render.c
2
render.c
|
|
@ -3101,7 +3101,7 @@ maybe_resize(struct terminal *term, int width, int height, bool force)
|
|||
scale = it->item->scale;
|
||||
}
|
||||
|
||||
if (scale == -1) {
|
||||
if (scale < 0) {
|
||||
/* Haven't 'entered' an output yet? */
|
||||
scale = term->scale;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue