EgtMachKernel 2.5e2 :

- correzione a Disposizione per gestire correttamente errori in casi senza testa equivalente.
This commit is contained in:
DarioS
2023-05-18 18:34:34 +02:00
parent c6aa83ccd5
commit 577143d176
2 changed files with 2 additions and 1 deletions
+2 -1
View File
@@ -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) + ")" ;