From fcb513d4ac83b66b28ad8777008a57f67849f800 Mon Sep 17 00:00:00 2001 From: sauron Date: Fri, 17 Oct 2025 01:04:35 +0900 Subject: [PATCH] commit 2025-10-17 01:04 edit a bit ZCppMain/ZMainHead.H --- ZCppMain/ZMainHead.H | 8 ++++---- ZCppMain/ZMainHeadEx.H | 12 ++++-------- 2 files changed, 8 insertions(+), 12 deletions(-) diff --git a/ZCppMain/ZMainHead.H b/ZCppMain/ZMainHead.H index 1b7e7bd..7fe9928 100644 --- a/ZCppMain/ZMainHead.H +++ b/ZCppMain/ZMainHead.H @@ -3260,10 +3260,10 @@ namespace ZNsMain TTypeNow mo_ZCObjNow ; TTypeNext mo_ZCObjNext; public : - ZCObjNow& GetNowObj () {return mo_ZCObjNow ;} + ZCObjNow & GetNowObj () {return mo_ZCObjNow ;} ZCObjNext& GetNextObj() {return mo_ZCObjNext;} - /*#####################################################*/ - const ZCObjNow& GetNowObj () const{return mo_ZCObjNow ;} + /*#########################################################*/ + const ZCObjNow & GetNowObj () const{return mo_ZCObjNow ;} const ZCObjNext& GetNextObj() const{return mo_ZCObjNext;} public: };/* @@ -3285,7 +3285,7 @@ namespace ZNsMain public : ZCObjNow& GetNowObj () {return mo_ZCObjNow;} ZCObjNext& GetNextObj() {return mo_ZCObjNow;} - /*####################################################*/ + /*########################################################*/ const ZCObjNow& GetNowObj () const{return mo_ZCObjNow;} const ZCObjNext& GetNextObj() const{return mo_ZCObjNow;} public: diff --git a/ZCppMain/ZMainHeadEx.H b/ZCppMain/ZMainHeadEx.H index b9189b4..42c7e31 100644 --- a/ZCppMain/ZMainHeadEx.H +++ b/ZCppMain/ZMainHeadEx.H @@ -7136,7 +7136,6 @@ namespace ZNsMain { return VI_EmptyBuffCnt; } - //////////////// } else // AL_Lengthiov_len) { @@ -7167,12 +7166,10 @@ namespace ZNsMain void MoveFirst() { - if(mi_HeadPos<1) return; + if(mi_HeadPos<1) return ; - int VI_Index=0 ; - int i =mi_HeadPos; - - int VI_ValidBuffCnt=GetSize(); + int VI_Index= 0, i = mi_HeadPos; + int VI_ValidBuffCnt = GetSize() ; for(; i<=mi_TailPos; ++i) { @@ -7189,8 +7186,7 @@ namespace ZNsMain }/* for(i=0; i