diff options
Diffstat (limited to 'src/helper.c')
| -rw-r--r-- | src/helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper.c b/src/helper.c index f258d23..108e2b9 100644 --- a/src/helper.c +++ b/src/helper.c @@ -48,7 +48,7 @@ int utf8_decode(const unsigned char *bytes, unsigned long *codepoint){ } /* this turns the library's return value into a column count so 0 1 or 2 */ -static int codepoint_width(unsigned long codepoint){ +int codepoint_width(unsigned long codepoint){ int width = widechar_wcwidth(codepoint); if(width > 0) return width; |
