diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-06-21 20:38:33 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-06-21 20:38:33 +0000 |
commit | 932f5569c467683d3b95c45772da903d3117dc11 (patch) | |
tree | 73162154b5cbfc1b2826f58015dba8720732e9b5 /plugins/MirLua/src/m_toptoolbar.cpp | |
parent | 28e58637ba0b6194a2c95adf35f7581d5481a441 (diff) |
MirLua: some changes
git-svn-id: http://svn.miranda-ng.org/main/trunk@14311 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirLua/src/m_toptoolbar.cpp')
-rw-r--r-- | plugins/MirLua/src/m_toptoolbar.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/MirLua/src/m_toptoolbar.cpp b/plugins/MirLua/src/m_toptoolbar.cpp index 7b0efcbc7c..535f919823 100644 --- a/plugins/MirLua/src/m_toptoolbar.cpp +++ b/plugins/MirLua/src/m_toptoolbar.cpp @@ -33,12 +33,12 @@ static TTBButton* MakeTBButton(lua_State *L) lua_pushstring(L, "wParamUp");
lua_gettable(L, -2);
- tbb->wParamUp = CMLua::GetWParam(L, -1);
+ tbb->wParamUp = luaM_towparam(L, -1);
lua_pop(L, 1);
lua_pushstring(L, "lParamUp");
lua_gettable(L, -2);
- tbb->lParamUp = CMLua::GetLParam(L, -1);
+ tbb->lParamUp = luaM_tolparam(L, -1);
lua_pop(L, 1);
// dn state
@@ -54,12 +54,12 @@ static TTBButton* MakeTBButton(lua_State *L) lua_pushstring(L, "wParamDown");
lua_gettable(L, -2);
- tbb->wParamDown = CMLua::GetWParam(L, -1);
+ tbb->wParamDown = luaM_towparam(L, -1);
lua_pop(L, 1);
lua_pushstring(L, "lParamDown");
lua_gettable(L, -2);
- tbb->lParamDown = CMLua::GetLParam(L, -1);
+ tbb->lParamDown = luaM_tolparam(L, -1);
lua_pop(L, 1);
return tbb;
|