commit 2025-09-20 10:22 edit a bit ZCppMain/ZtCStringEx.H

This commit is contained in:
2025-09-20 10:22:29 +09:00
parent 6238184f8d
commit 04e2329262

View File

@ -776,7 +776,8 @@ namespace ZNsMain
{
this->FiniMem(mpc_Data);
mpc_Data =this->InitMem((VL_NewAllocSize+1)*sizeof(TypeChar));
mpc_Data =this->InitMem
( (VL_NewAllocSize+1)*sizeof(TypeChar) );
ml_AllLen =VL_NewAllocSize ;
ml_UseLen =0 ;
mpc_Data[0]=0 ;
@ -833,7 +834,7 @@ namespace ZNsMain
{
if(ml_AllLen>0)
{
this->FiniMem(mpc_Data) ;
this->FiniMem(mpc_Data) ;
mpc_Data = 0 ;
ml_AllLen = ml_UseLen =0;
}/*