fixed a bug it's add ! at error position.
This commit is contained in:
parent
a6ca121707
commit
52d0077fa9
@ -43,10 +43,13 @@ namespace hgl
|
|||||||
|
|
||||||
tmp=trim<T>(str->c_str(),len,isslash<T>);
|
tmp=trim<T>(str->c_str(),len,isslash<T>);
|
||||||
|
|
||||||
if(first)
|
if(!first)
|
||||||
{
|
{
|
||||||
*p=spear_char;
|
*p=spear_char;
|
||||||
++p;
|
++p;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
first=false;
|
first=false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user