commit 2025-08-28 20:56 edit a bit ZCppMain/ZtCStringEx.H

This commit is contained in:
2025-08-28 20:57:01 +09:00
parent 23aafc699b
commit 9216c4dca8
2 changed files with 10 additions and 11 deletions

View File

@ -2832,19 +2832,18 @@ namespace ZNsMain
while(VL_Index<=VL_Loop) while(VL_Index<=VL_Loop)
{ {
TypeLength j; TypeLength j=0;
for(j=0; j<AL_SearchLen; ++j) /*++++*/ for(; j<AL_SearchLen; ++j)
{ {
if(APC_OriginChar[VL_Index+j]!=APC_SearchChar[j]) break; if( APC_OriginChar[VL_Index+j] != APC_SearchChar[j] )
} { break; }
/*++++++++++++++++++++++++++++++++++*/ /*=================================================*/
}/*
for(; j<AL_SearchLen; ++j)*/
if(j!=AL_SearchLen){ ++VL_Index; continue; } // 찾지 못했다면
if(j!=AL_SearchLen) // 찾지 못했다면
{
++VL_Index; continue;
}
/*===============*/
// 찾았다면... // 찾았다면...

View File

@ -8282,7 +8282,7 @@ namespace ZNsMain
{ return ARR_SaveCStr(AR_DataCStr); } { return ARR_SaveCStr(AR_DataCStr); }
_ZCSTRINGBASE_ARG_ _ZCSTRINGBASE_& ZftMakeStr _ZCSTRINGBASE_ARG_ _ZCSTRINGBASE_& ZftMakeStr
( _ZCSTRINGBASE_& ARR_SaveCStr, typename const ( _ZCSTRINGBASE_& ARR_SaveCStr, const typename
_ZCSTRINGBASE_::ZCChars& AR_DataCStr ) _ZCSTRINGBASE_::ZCChars& AR_DataCStr )
{ return ARR_SaveCStr(AR_DataCStr); } { return ARR_SaveCStr(AR_DataCStr); }