fix dumb typos from utf8 error return refactor
This commit is contained in:
parent
654da2ffb5
commit
7cb0619fe8
|
@ -59,7 +59,7 @@ fb_get_font(const plot_font_style_t *fstyle)
|
|||
}
|
||||
}
|
||||
|
||||
nserror_ret utf8_to_font_encoding(const struct fb_font_desc* font,
|
||||
nserror utf8_to_font_encoding(const struct fb_font_desc* font,
|
||||
const char *string,
|
||||
size_t len,
|
||||
char **result)
|
||||
|
|
|
@ -645,7 +645,7 @@ nserror utf8_from_local_encoding(const char *string, size_t len, char **result)
|
|||
(3 * SPECIAL_CHUNK_SIZE));
|
||||
if (!temp) {
|
||||
free(*result);
|
||||
return NSERRO_NOMEM;
|
||||
return NSERROR_NOMEM;
|
||||
}
|
||||
|
||||
*result = temp;
|
||||
|
|
Loading…
Reference in New Issue