From 04e232926203b5ce97307704db8742193944e0ce Mon Sep 17 00:00:00 2001 From: sauron Date: Sat, 20 Sep 2025 10:22:29 +0900 Subject: [PATCH] commit 2025-09-20 10:22 edit a bit ZCppMain/ZtCStringEx.H --- ZCppMain/ZtCStringEx.H | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ZCppMain/ZtCStringEx.H b/ZCppMain/ZtCStringEx.H index d5f6081..7bf00b7 100644 --- a/ZCppMain/ZtCStringEx.H +++ b/ZCppMain/ZtCStringEx.H @@ -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; }/*