mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-24 09:05:48 -04:00
config: pt_or_px cannot be a union
This commit is contained in:
parent
deaff095c6
commit
dce402ae42
3 changed files with 7 additions and 7 deletions
|
|
@ -610,7 +610,7 @@ err_sem_destroy:
|
|||
|
||||
static int
|
||||
pt_or_px_as_pixels(const struct terminal *term,
|
||||
const union pt_or_px *pt_or_px)
|
||||
const struct pt_or_px *pt_or_px)
|
||||
{
|
||||
return pt_or_px->px == 0
|
||||
? pt_or_px->pt * term->font_dpi / 72
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue