diff --git a/EXE_Exchange.cpp b/EXE_Exchange.cpp index 858bc95..e24a741 100644 --- a/EXE_Exchange.cpp +++ b/EXE_Exchange.cpp @@ -369,7 +369,7 @@ ExeAdvancedImport( const string& sFilePath) ExeSetModified() ; // se richiesto, salvo il comando Lua equivalente if ( IsCmdLog()) { - string sLua = "EgtAdvancedImport('" + StringToLuaString( sFilePath) + ")" + + string sLua = "EgtAdvancedImport('" + StringToLuaString( sFilePath) + "')" + " -- Ok=" + ToString( bOk) ; LOG_INFO( GetCmdLogger(), sLua.c_str()) ; } @@ -394,7 +394,8 @@ ExeExportDxf( int nId, const string& sFilePath, int nFlag) // se richiesto, salvo il comando Lua equivalente if ( IsCmdLog()) { string sLua = "EgtExportDxf(" + ToString( nId) + ",'" + - StringToLuaString( sFilePath) + "')" + + StringToLuaString( sFilePath) + "'," + + ToString( nFlag) + ")" + " -- Ok=" + ToString( bOk) ; LOG_INFO( GetCmdLogger(), sLua.c_str()) ; }