fixed a bug it's add ! at error position.

This commit is contained in:
hyzboy 2020-12-09 13:03:56 +08:00
parent a6ca121707
commit 52d0077fa9

View File

@ -43,10 +43,13 @@ namespace hgl
tmp=trim<T>(str->c_str(),len,isslash<T>);
if(first)
if(!first)
{
*p=spear_char;
++p;
}
else
{
first=false;
}