summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/m_msg_buttonsbar.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-11-09 15:27:49 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-11-09 15:27:49 +0000
commitb0767875612ca56f4b5236064772b14d33bf41aa (patch)
tree52b27ea009a39dd451239723a1a28a6787a7b6bd /plugins/MirLua/src/m_msg_buttonsbar.cpp
parent679df74757fbd41c13e27363d1d68d74bf2af38a (diff)
MirLua: Another one fix for vs2010
git-svn-id: http://svn.miranda-ng.org/main/trunk@15704 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/m_msg_buttonsbar.cpp')
-rw-r--r--plugins/MirLua/src/m_msg_buttonsbar.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/MirLua/src/m_msg_buttonsbar.cpp b/plugins/MirLua/src/m_msg_buttonsbar.cpp
index 4082fa0ba0..662441a4ad 100644
--- a/plugins/MirLua/src/m_msg_buttonsbar.cpp
+++ b/plugins/MirLua/src/m_msg_buttonsbar.cpp
@@ -262,10 +262,10 @@ LUAMOD_API int luaopen_m_msg_buttonsbar(lua_State *L)
luaL_newlib(L, msgbuttinsbarApi);
MT<CustomButtonClickData>(L, "CustomButtonClickData")
- .Field(&CustomButtonClickData::pszModule, "Module")
- .Field(&CustomButtonClickData::dwButtonId, "ButtonID")
- .Field(&CustomButtonClickData::hContact, "hContact")
- .Field(&CustomButtonClickData::flags, "Flags");
+ .Field(&CustomButtonClickData::pszModule, "Module", LUA_TSTRINGA)
+ .Field(&CustomButtonClickData::dwButtonId, "ButtonID", LUA_TINTEGER)
+ .Field(&CustomButtonClickData::hContact, "hContact", LUA_TINTEGER)
+ .Field(&CustomButtonClickData::flags, "Flags", LUA_TINTEGER);
lua_pop(L, 1);
/*luaL_newmetatable(L, MT_CUSTOMBUTTONCLICKDATA);