diff options
author | George Hazan <ghazan@miranda.im> | 2018-04-04 16:02:56 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-04-04 16:02:56 +0300 |
commit | e230d5b323f08f9bf07cfd4822f22a22c22660b7 (patch) | |
tree | ab84396539f13100ba119cbc5b2575b374c8f503 /plugins/MirLua/src/m_srmm.cpp | |
parent | 8937c49faab219b51b9863847406a21945d3a9cb (diff) |
fix for adding separators into SRMM toolbar
Diffstat (limited to 'plugins/MirLua/src/m_srmm.cpp')
-rw-r--r-- | plugins/MirLua/src/m_srmm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirLua/src/m_srmm.cpp b/plugins/MirLua/src/m_srmm.cpp index 9a98755380..8ec739bd27 100644 --- a/plugins/MirLua/src/m_srmm.cpp +++ b/plugins/MirLua/src/m_srmm.cpp @@ -48,10 +48,10 @@ static int lua_AddButton(lua_State *L) MakeBBButton(L, bbb); int hScriptLangpack = CMLuaEnvironment::GetEnvironmentId(L); - INT_PTR res = Srmm_AddButton(&bbb, hScriptLangpack); + HANDLE res = Srmm_AddButton(&bbb, hScriptLangpack); CleanBBButton(bbb); - if (res) + if (!res) { lua_pushnil(L); return 1; |