diff options
author | Curtis McEnroe | 2018-08-06 15:12:13 -0400 |
---|---|---|
committer | Curtis McEnroe | 2018-08-06 15:12:13 -0400 |
commit | 3f3fa34d8aa914e6d65e524d4ab3cd944082cde7 (patch) | |
tree | 484215d19fac54af7c77b6b48a7afca7581e943e /pls.c | |
parent | d6fb797b11aa6dd031032faf425be3ce5a69661d (diff) |
Implement word wrapping
Diffstat (limited to 'pls.c')
-rw-r--r-- | pls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pls.c b/pls.c index bd40dbd..c6071c7 100644 --- a/pls.c +++ b/pls.c @@ -26,7 +26,7 @@ wchar_t *wcssep(wchar_t **stringp, const wchar_t *delim) { size_t i = wcscspn(orig, delim); *stringp = NULL; if (orig[i]) { - orig[i] = '\0'; + orig[i] = L'\0'; *stringp = &orig[i + 1]; } return orig; |