summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_options.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2016-01-07 10:42:38 +0000
committerAlexander Lantsev <aunsane@gmail.com>2016-01-07 10:42:38 +0000
commit6a6a1d097e043dba142d5cdc485e6b4dbe67e12a (patch)
tree8b4700b62e3569fcc0906bf75bf79894dd1623e0 /plugins/MirLua/src/mlua_options.cpp
parent2742e2cfa0b0c32cbfc30e551f9ffaca29aa8aa9 (diff)
MirLua:
- added script cache on load - refactoring git-svn-id: http://svn.miranda-ng.org/main/trunk@16044 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/mlua_options.cpp')
-rw-r--r--plugins/MirLua/src/mlua_options.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirLua/src/mlua_options.cpp b/plugins/MirLua/src/mlua_options.cpp
index 9d44bbde83..da62cef1d1 100644
--- a/plugins/MirLua/src/mlua_options.cpp
+++ b/plugins/MirLua/src/mlua_options.cpp
@@ -59,8 +59,8 @@ void CLuaOptions::LoadScripts()
{
for (int i = 0; i < g_mLua->Scripts.getCount(); i++)
{
- CMLuaScript* script = g_mLua->Scripts[i];
- TCHAR* fileName = NEWTSTR_ALLOCA(script->GetFileName());
+ CMLuaScript *script = g_mLua->Scripts[i];
+ TCHAR *fileName = NEWTSTR_ALLOCA(script->GetFileName());
int iItem = m_scripts.AddItem(fileName, -1, (LPARAM)script);
if (db_get_b(NULL, MODULE, _T2A(fileName), 1))
m_scripts.SetCheckState(iItem, TRUE);