diff --git a/src/viewer/text/textarea.c b/src/viewer/text/textarea.c index b00f54dbd..12a693016 100644 --- a/src/viewer/text/textarea.c +++ b/src/viewer/text/textarea.c @@ -69,6 +69,7 @@ static INIT_LIST_OF(struct textarea_data, textarea_list); #ifdef CONFIG_UTF8 /** Allocates a line_info table describing the layout of the textarea buffer. * + * @param text the text to format; must be in UTF-8 * @param width is max width and the offset at which @a text will be * wrapped * @param wrap controls how the wrapping of @a text is performed @@ -155,6 +156,7 @@ format_textutf8(unsigned char *text, int width, enum form_wrap wrap, int format) /** Allocates a line_info table describing the layout of the textarea buffer. * + * @param text the text to format; must be in a unibyte charset * @param width is max width and the offset at which @a text will be * wrapped * @param wrap controls how the wrapping of @a text is performed