summaryrefslogtreecommitdiff
path: root/plugins/MirLua
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-28 15:12:27 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-28 15:12:27 +0300
commit3ffc894a7a132a013e74fe063b72d79e17c998dc (patch)
tree83f08037d2f840f72d79d393fdd20916e6cf6858 /plugins/MirLua
parent1e49d6b2cb3812d8e80051cbb3d44891e6532825 (diff)
we don't need the uFlags field either
Diffstat (limited to 'plugins/MirLua')
-rw-r--r--plugins/MirLua/src/m_message.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirLua/src/m_message.cpp b/plugins/MirLua/src/m_message.cpp
index c21d71335c..a7f4be9729 100644
--- a/plugins/MirLua/src/m_message.cpp
+++ b/plugins/MirLua/src/m_message.cpp
@@ -5,7 +5,7 @@ static int message_Paste(lua_State *L)
MCONTACT hContact = luaL_checkinteger(L, 1);
ptrW text(mir_utf8decodeW(luaL_checkstring(L, 2)));
- MessageWindowData mwd = { sizeof(MessageWindowData) };
+ MessageWindowData mwd;
INT_PTR res = CallService(MS_MSG_GETWINDOWDATA, hContact, (LPARAM)&mwd);
lua_pushinteger(L, res);
if (res)