EgtMachKernel :

- piccola miglioria per calcoli nuovo nome.
This commit is contained in:
Dario Sassi
2015-10-31 16:33:17 +00:00
parent 2324a8b3f4
commit 8482af09c6
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -142,7 +142,7 @@ MachMgr::GetOperationNewName( string& sName) const
if ( sName.empty())
sName = "Oper" ;
// verifico che il nome sia unico
int nCount = 1 ;
int nCount = 0 ;
string sOrigName = sName ;
while ( GetOperationId( sName) != GDB_ID_NULL) {
++ nCount ;