From 44b943d5ecfdda3704a791841d0cc391feebc2f7 Mon Sep 17 00:00:00 2001 From: spx Date: Fri, 28 Jan 2011 08:22:18 +0000 Subject: [PATCH] Code cleanup. --- Library/lua/LuaScript.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/lua/LuaScript.cpp b/Library/lua/LuaScript.cpp index 7e539478..b600311f 100644 --- a/Library/lua/LuaScript.cpp +++ b/Library/lua/LuaScript.cpp @@ -10,7 +10,7 @@ LuaScript::LuaScript(lua_State* p_pState, const char* p_strFile, const char* p_s int result = luaL_loadfile(m_pState, p_strFile); - m_strTableName = strdup(p_strTableName); + m_strTableName = _strdup(p_strTableName); // If the file loaded okay. if(result == 0)