diff options
Diffstat (limited to 'plugins/MirLua/src/m_icolib.cpp')
-rw-r--r-- | plugins/MirLua/src/m_icolib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_icolib.cpp b/plugins/MirLua/src/m_icolib.cpp index f94959268b..30146cd503 100644 --- a/plugins/MirLua/src/m_icolib.cpp +++ b/plugins/MirLua/src/m_icolib.cpp @@ -15,7 +15,7 @@ static int lua_AddIcon(lua_State *L) si.description.t = description;
si.section.t = section;
si.defaultFile.t = filePath;
- si.iDefaultIndex = -IDI_ICON;
+ si.hDefaultIcon = GetIcon(IDI_SCRIPT);
HANDLE res = ::IcoLib_AddIcon(&si, hScriptsLangpack);
lua_pushlightuserdata(L, res);
|