From 21c07c006066115af4604e26cd89cf60f94a7d53 Mon Sep 17 00:00:00 2001 From: Xavier G Date: Fri, 13 May 2016 02:27:19 +0200 Subject: Leverage string_policy(). --- src/core/utf8.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/utf8.h') diff --git a/src/core/utf8.h b/src/core/utf8.h index fa11b737..f1a8f0e1 100644 --- a/src/core/utf8.h +++ b/src/core/utf8.h @@ -17,7 +17,7 @@ int mk_wcwidth(unichar c); /* Advance the str pointer one character further; return the number of columns * occupied by the skipped character. */ -int string_advance(char const **str, gboolean utf8); +int string_advance(char const **str, int policy); /* TREAT_STRING_AS_BYTES means strings are to be treated using strncpy, * strnlen, etc. -- cgit v1.2.3