Makefile fix

This commit is contained in:
UncleRus 2016-12-11 19:10:26 +05:00
parent 75352783bb
commit dd5d326f2c
2 changed files with 14 additions and 7 deletions

View file

@ -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++;