From 3f3fa34d8aa914e6d65e524d4ab3cd944082cde7 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Mon, 6 Aug 2018 15:12:13 -0400 Subject: Implement word wrapping --- pls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pls.c') 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; -- cgit 1.4.1-2-gfad0