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 a6bbd63..10f317c 100644 Binary files a/EgtMachKernel.rc and b/EgtMachKernel.rc differ