EgtExecutor 1.6h5 :
- corretta trasformazioni stringhe in stringhe Lua con ' - aggiunta gestione import BTL.
This commit is contained in:
+2
-4
@@ -15,6 +15,7 @@
|
||||
#include "stdafx.h"
|
||||
#include "EXE.h"
|
||||
#include "LUA_Base.h"
|
||||
#include "AuxTools.h"
|
||||
#include "/EgtDev/Include/EXeExecutor.h"
|
||||
#include "/EgtDev/Include/EGnStringUtils.h"
|
||||
#include "/EgtDev/Include/EgtStringConverter.h"
|
||||
@@ -204,10 +205,7 @@ ExeLuaExecFile( const string& sFilePath)
|
||||
ExeEnableCommandLogger() ;
|
||||
// se richiesto, salvo il comando Lua
|
||||
if ( IsCmdLog()) {
|
||||
string sLuaPath = sFilePath ;
|
||||
ReplaceString( sLuaPath, "\\", "\\\\") ;
|
||||
ReplaceString( sLuaPath, "'", "\\'") ;
|
||||
string sLua = "dofile('" + sLuaPath + "')" +
|
||||
string sLua = "dofile('" + StringToLuaString( sFilePath) + "')" +
|
||||
" -- Ok=" + ToString( bOk) ;
|
||||
LOG_INFO( GetCmdLogger(), sLua.c_str()) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user