From ab49c66060d3230d5630033f40a8418df1af7b50 Mon Sep 17 00:00:00 2001 From: nishi Date: Tue, 6 Feb 2024 04:37:04 +0000 Subject: [PATCH] fixed w3b space issue git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@172 d27a3e52-49c5-7645-884c-6793ebffc270 --- Example/w3b/w3b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Example/w3b/w3b.c b/Example/w3b/w3b.c index 83963a3..8a91a05 100644 --- a/Example/w3b/w3b.c +++ b/Example/w3b/w3b.c @@ -299,7 +299,7 @@ void text_handler(char* data) { bool firstspc = true; for(i = 0; i < strlen(data); i++) { cbuf[0] = data[i]; - if(data[i] == '\n' || data[i] == '\t') { + if(data[i] == '\n' || data[i] == '\t' || data[i] == ' ') { if(!spc && !firstspc) { spc = true; char* tmp = fmt_data; -- 2.43.0