diff options
| author | david <[email protected]> | 2026-10-13 23:04:06 -0300 |
|---|---|---|
| committer | david <[email protected]> | 2026-10-13 23:04:06 -0300 |
| commit | 7aff48a428f5c9c765f71d364594a9f273d04e8a (patch) | |
| tree | ca3ea9eb7d079766fb5096794550cfcddbe2300a /src/helper.c | |
| parent | f0f954d463f7ab0e0ce792527e6567611ed67bf9 (diff) | |
| download | mikusays-c-7aff48a428f5c9c765f71d364594a9f273d04e8a.tar.gz mikusays-c-7aff48a428f5c9c765f71d364594a9f273d04e8a.zip | |
split text
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; |
