Makefile fix
This commit is contained in:
parent
75352783bb
commit
dd5d326f2c
2 changed files with 14 additions and 7 deletions
|
|
@ -118,7 +118,7 @@ uint16_t font_measure_string(const font_info_t *fnt, const char *s)
|
|||
uint16_t res = 0;
|
||||
while (s)
|
||||
{
|
||||
font_char_desc_t *d = font_get_char_desc(fnt, *s);
|
||||
const font_char_desc_t *d = font_get_char_desc(fnt, *s);
|
||||
if (d)
|
||||
res += d->width + fnt->c;
|
||||
s++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue