summaryrefslogtreecommitdiff
path: root/firmware/font.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/font.c')
-rw-r--r--firmware/font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/font.c b/firmware/font.c
index 8f0808ba87..2a2975cbf2 100644
--- a/firmware/font.c
+++ b/firmware/font.c
@@ -525,7 +525,7 @@ int font_load_ex( const char *path, size_t buf_size, int glyphs )
525 font_id = open_slot; 525 font_id = open_slot;
526 526
527 /* allocate mem */ 527 /* allocate mem */
528 int handle = core_alloc_ex( NULL, 528 int handle = core_alloc_ex(
529 bufsize + sizeof( struct buflib_alloc_data ), 529 bufsize + sizeof( struct buflib_alloc_data ),
530 &buflibops ); 530 &buflibops );
531 if ( handle <= 0 ) 531 if ( handle <= 0 )