diff options
author | Xavier G <xavier.github@kindwolf.org> | 2016-05-13 01:52:37 +0200 |
---|---|---|
committer | Xavier G <xavier.github@kindwolf.org> | 2016-05-13 01:52:37 +0200 |
commit | b0afcc96dbc13cf3a5ed94686bb227ab0d86ceaa (patch) | |
tree | 924d4d7d496b79ef8cd7baac9f733040f9aa1e31 /src/core | |
parent | 5c74a3bb88db0fa32c459f8494e9f5a62a821baa (diff) | |
download | irssi-b0afcc96dbc13cf3a5ed94686bb227ab0d86ceaa.zip |
Rename advance() into string_advance().
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/utf8.c | 2 | ||||
-rw-r--r-- | src/core/utf8.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/utf8.c b/src/core/utf8.c index 6daa878a..1daaf03f 100644 --- a/src/core/utf8.c +++ b/src/core/utf8.c @@ -26,7 +26,7 @@ #include "module.h" #include "wcwidth.c" -int advance(char const **str, gboolean utf8) +int string_advance(char const **str, gboolean utf8) { if (utf8) { gunichar c; diff --git a/src/core/utf8.h b/src/core/utf8.h index 09397f69..50ee0886 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 advance(char const **str, gboolean utf8); +int string_advance(char const **str, gboolean utf8); #define unichar_isprint(c) (((c) & ~0x80) >= 32) #define is_utf8_leading(c) (((c) & 0xc0) != 0x80) |