From: nishi Date: Tue, 6 Feb 2024 04:37:04 +0000 (+0000) Subject: fixed w3b space issue X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=ab49c66060d3230d5630033f40a8418df1af7b50;p=libw3.git fixed w3b space issue git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@172 d27a3e52-49c5-7645-884c-6793ebffc270 --- 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;