summaryrefslogtreecommitdiffstats
path: root/source/helper.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/helper.c')
-rw-r--r--source/helper.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/helper.c b/source/helper.c
index a84a7d9e..ad6541a8 100644
--- a/source/helper.c
+++ b/source/helper.c
@@ -180,7 +180,8 @@ static char *utf8_helper_simplify_string(const char *os) {
0,
};
- // Normalize the string to a fully decomposed form, then filter out mark/accent characters.
+ // Normalize the string to a fully decomposed form, then filter out
+ // mark/accent characters.
char *s = g_utf8_normalize(os, -1, G_NORMALIZE_ALL);
ssize_t str_size = (g_utf8_strlen(s, -1) * 6 + 2 + 1) * sizeof(char);
char *str = g_malloc0(str_size);