commit 2025-09-02 14:37 refine Replace() in ZCppMain/ZtCStringEx.H
This commit is contained in:
@ -160,7 +160,7 @@ namespace ZNsMain
|
||||
}/*
|
||||
__for1(TypeLength, i, VL_PosListSize)*/
|
||||
|
||||
if(VL_DestStart<VL_MoveStart && VL_DestStart<VL_ThisSize)
|
||||
if(VL_ThisSize > VL_MoveStart)
|
||||
{
|
||||
::memmove /*::::::::::::::::::::::::::::::*/
|
||||
(
|
||||
@ -170,7 +170,7 @@ namespace ZNsMain
|
||||
);
|
||||
/*::::::::::::::::::::::::::::::::::::::::*/
|
||||
}/*
|
||||
if(VL_DestStart<VL_MoveStart && VL_DestStart<VL_ThisSize)*/
|
||||
if(VL_ThisSize > VL_MoveStart)*/
|
||||
|
||||
this->resize(VL_NeedSize); return *this;
|
||||
}/*
|
||||
|
@ -430,7 +430,7 @@ namespace ZNsMain
|
||||
}/*
|
||||
__for1(TypeLength, i, VL_PosListSize)*/
|
||||
|
||||
if(VL_DestStart<VL_MoveStart && VL_DestStart<VL_ThisSize)
|
||||
if(VL_ThisSize > VL_MoveStart)
|
||||
{
|
||||
::memmove /*::::::::::::::::::::::::::::::::::::::::*/
|
||||
(
|
||||
@ -440,7 +440,7 @@ namespace ZNsMain
|
||||
);
|
||||
/*::::::::::::::::::::::::::::::::::::::::::::::::::*/
|
||||
}/*
|
||||
if(VL_DestStart<VL_MoveStart && VL_DestStart<VL_ThisSize)*/
|
||||
if(VL_ThisSize > VL_MoveStart)*/
|
||||
|
||||
this->resize(VL_NeedSize); return *this;
|
||||
}/*
|
||||
|
Reference in New Issue
Block a user