From 577143d176cfdbabd2d6147b3b18173ec54eae4d Mon Sep 17 00:00:00 2001 From: DarioS Date: Thu, 18 May 2023 18:34:34 +0200 Subject: [PATCH] EgtMachKernel 2.5e2 : - correzione a Disposizione per gestire correttamente errori in casi senza testa equivalente. --- Disposition.cpp | 3 ++- EgtMachKernel.rc | Bin 11774 -> 11774 bytes 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Disposition.cpp b/Disposition.cpp index 0984588..ed8e763 100644 --- a/Disposition.cpp +++ b/Disposition.cpp @@ -1353,7 +1353,8 @@ Disposition::SpecialApply( bool bRecalc) bOk = bOk && pMch->LuaResetGlobVar( EMC_VAR) ; // segnalo errori ed esco if ( ! bOk || nErr > 0) { - m_nShifts = -2 ; + if ( m_nShifts != -1) + m_nShifts = -2 ; string sOut = sMsg ; if ( IsEmptyOrSpaces( sOut)) sOut = " Error in " + ON_SPECIAL_APPLY + " (" + ToString( nErr) + ")" ; diff --git a/EgtMachKernel.rc b/EgtMachKernel.rc index a6bbd633828b6f5d28b036fd956482c3f066b1b9..10f317c94ae1e98603c6faf3fd3ae68b35807fb6 100644 GIT binary patch delta 97 zcmewt{V#gMFE&P_&A-`fnHh~HKa|wnoW?bQ1uSxrY4Qod0+^@}R1`^_2jk{d(jGv4 NK<#LXK~l;gTmU8!BZvS1 delta 97 zcmewt{V#gMFE&QQ&A-`fnHdcyKa|wnoW?bQ1uSxrY4Qod0+^@}R1`^_2jk{d(jGv4 NK<#LXK~l;gTmU3rBY*$^