diff --git a/API_Lua.cpp b/API_Lua.cpp index b276510..74bc563 100644 --- a/API_Lua.cpp +++ b/API_Lua.cpp @@ -198,9 +198,9 @@ __stdcall EgtLuaExecLine( const wchar_t* wsLine) //----------------------------------------------------------------------------- BOOL -__stdcall EgtLuaExecFile( const wchar_t* wsFilePath) +__stdcall EgtLuaExecFile( const wchar_t* wsFilePath, BOOL bLogInfo) { - return ( ExeLuaExecFile( wstrztoA( wsFilePath)) ? TRUE : FALSE) ; + return ( ExeLuaExecFile( wstrztoA( wsFilePath), bLogInfo != FALSE) ? TRUE : FALSE) ; } //-----------------------------------------------------------------------------