From 679b23b4d1c5b2d935085b199d9327bec8477378 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Wed, 28 Oct 2015 20:12:50 +0000 Subject: MirLua: - internal icons added to iconlib - minor fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@15641 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirLua/src/m_icolib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/MirLua/src/m_icolib.cpp') 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); -- cgit v1.2.3