summaryrefslogtreecommitdiff
path: root/src/core/wee-utf8.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2018-01-07 09:11:45 +0100
committerSébastien Helleu <flashcode@flashtux.org>2018-01-07 09:11:45 +0100
commit7ee88fb46c512c125191d6447ff1348dfc3254f3 (patch)
tree708d6960a34134455ceafe5f737d2d99ed344f5f /src/core/wee-utf8.c
parent91f792416bd40c8e47d7f035e15f49732be368ce (diff)
downloadweechat-7ee88fb46c512c125191d6447ff1348dfc3254f3.zip
core: fix some styles
Diffstat (limited to 'src/core/wee-utf8.c')
-rw-r--r--src/core/wee-utf8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/wee-utf8.c b/src/core/wee-utf8.c
index 3a85cdd73..b27302584 100644
--- a/src/core/wee-utf8.c
+++ b/src/core/wee-utf8.c
@@ -138,7 +138,7 @@ utf8_is_valid (const char *string, int length, char **error)
{
goto invalid;
}
- code_point = utf8_char_int(string);
+ code_point = utf8_char_int (string);
if ((code_point < 0x10000) || (code_point > 0x1FFFFF))
goto invalid;
string += 4;
@@ -433,7 +433,7 @@ utf8_char_size (const char *string)
/*
* Gets length of an UTF-8 string in number of chars (not bytes).
- * Result is <= strlen(string).
+ * Result is <= strlen (string).
*
* Returns length of string (>= 0).
*/