summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/m_icolib.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-07-15 20:14:27 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-07-15 20:14:27 +0000
commitba3469a33a14a198e36fe7a0728e0aff9b465eb3 (patch)
treebb6fee867c456aeb1f0d668eb2a61eebaae97ab1 /plugins/MirLua/src/m_icolib.cpp
parentdaf68b05d9685e5e9ea9abd828bc05f69cb59650 (diff)
MirLua: cleanup icons on scripts restart
git-svn-id: http://svn.miranda-ng.org/main/trunk@14573 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/m_icolib.cpp')
-rw-r--r--plugins/MirLua/src/m_icolib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_icolib.cpp b/plugins/MirLua/src/m_icolib.cpp
index 00411fbf85..171ed373ab 100644
--- a/plugins/MirLua/src/m_icolib.cpp
+++ b/plugins/MirLua/src/m_icolib.cpp
@@ -17,7 +17,7 @@ static int lua_AddIcon(lua_State *L)
si.defaultFile.t = filePath;
si.iDefaultIndex = -IDI_ICON;
- HANDLE res = ::IcoLib_AddIcon(&si);
+ HANDLE res = ::IcoLib_AddIcon(&si, hScriptsLangpack);
lua_pushlightuserdata(L, res);
return 1;