summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/m_icolib.cpp
diff options
context:
space:
mode:
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;