font: font_from_name() returns an allocated font struct

This commit is contained in:
Daniel Eklöf 2019-10-16 21:52:12 +02:00
parent 3ca6f9fe0b
commit a789230cf9
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 21 additions and 17 deletions

View file

@ -366,7 +366,7 @@ struct terminal {
struct grid alt;
struct grid *grid;
struct font fonts[4];
struct font *fonts[4];
struct {
int height;
int descent;