fix dumb typos from utf8 error return refactor

This commit is contained in:
Vincent Sanders 2014-01-28 22:39:25 +00:00
parent 654da2ffb5
commit 7cb0619fe8
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

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