summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_script.cpp
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2017-11-26 18:13:28 +0300
committeraunsane <aunsane@gmail.com>2017-11-26 18:13:28 +0300
commit81885236ca6229fc40eeafda048a3ca677e9420f (patch)
treeedfb532b1254df559bef74a3b384d78c4fb4feaa /plugins/MirLua/src/mlua_script.cpp
parent58af0f18891fe0f7cfe10e6998ce365fb5d20d55 (diff)
MirLua: typo
Diffstat (limited to 'plugins/MirLua/src/mlua_script.cpp')
-rw-r--r--plugins/MirLua/src/mlua_script.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/MirLua/src/mlua_script.cpp b/plugins/MirLua/src/mlua_script.cpp
index ad70bef24c..79e52b9967 100644
--- a/plugins/MirLua/src/mlua_script.cpp
+++ b/plugins/MirLua/src/mlua_script.cpp
@@ -3,7 +3,7 @@
#define MT_SCRIPT "SCRIPT"
CMLuaScript::CMLuaScript(lua_State *L, const wchar_t *path)
- : CMLuaEnviroment(L), status(None), unloadRef(LUA_NOREF)
+ : CMLuaEnvironment(L), status(None), unloadRef(LUA_NOREF)
{
mir_wstrcpy(filePath, path);
@@ -19,7 +19,7 @@ CMLuaScript::CMLuaScript(lua_State *L, const wchar_t *path)
}
CMLuaScript::CMLuaScript(const CMLuaScript &script)
- : CMLuaEnviroment(L), status(None), unloadRef(LUA_NOREF)
+ : CMLuaEnvironment(L), status(None), unloadRef(LUA_NOREF)
{
mir_wstrcpy(filePath, script.filePath);
fileName = mir_wstrdup(script.fileName);
@@ -75,7 +75,7 @@ bool CMLuaScript::Load()
return false;
}
- if (!CMLuaEnviroment::Load()) {
+ if (!CMLuaEnvironment::Load()) {
ReportError(L);
return false;
}