diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/font.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/font.c b/firmware/font.c index 723c972e3b..3b7e714771 100644 --- a/firmware/font.c +++ b/firmware/font.c | |||
@@ -526,9 +526,10 @@ int font_load_ex( const char *path, size_t buf_size, int glyphs ) | |||
526 | pdata = core_get_data(handle); | 526 | pdata = core_get_data(handle); |
527 | pdata->handle_locks = 1; | 527 | pdata->handle_locks = 1; |
528 | pdata->refcount = 1; | 528 | pdata->refcount = 1; |
529 | pdata->disabled = false; | ||
529 | 530 | ||
530 | /* load and init */ | 531 | /* load and init */ |
531 | struct font *pf = pf_from_handle( handle ); | 532 | struct font *pf = &pdata->pf; |
532 | memcpy(pf, &f, sizeof( struct font) ); | 533 | memcpy(pf, &f, sizeof( struct font) ); |
533 | 534 | ||
534 | pf->fd = fd; | 535 | pf->fd = fd; |