diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-20 15:51:02 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-20 15:51:02 +0300 |
commit | 495c51c74e7d1595c882ae31becb7ab5b4093a08 (patch) | |
tree | 31afae70890e524bd14d0a8f38849a9d18128db3 /plugins/MirLua/src | |
parent | 852b327946b004dc233a6fff4ac523c5ed8b3b45 (diff) |
let's avoid identifier 'hLangpack' wherever possible
Diffstat (limited to 'plugins/MirLua/src')
-rw-r--r-- | plugins/MirLua/src/m_genmenu.cpp | 2 | ||||
-rw-r--r-- | plugins/MirLua/src/m_options.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirLua/src/m_genmenu.cpp b/plugins/MirLua/src/m_genmenu.cpp index e84f792a28..50043827ed 100644 --- a/plugins/MirLua/src/m_genmenu.cpp +++ b/plugins/MirLua/src/m_genmenu.cpp @@ -2,7 +2,7 @@ void MakeMenuItem(lua_State *L, CMenuItem &mi)
{
- mi.hLangpack = CMLuaEnvironment::GetEnvironmentId(L);
+ mi.langId = CMLuaEnvironment::GetEnvironmentId(L);
lua_getfield(L, -1, "Flags");
mi.flags = lua_tointeger(L, -1);
diff --git a/plugins/MirLua/src/m_options.cpp b/plugins/MirLua/src/m_options.cpp index 593348cb4d..32df2ca366 100644 --- a/plugins/MirLua/src/m_options.cpp +++ b/plugins/MirLua/src/m_options.cpp @@ -44,7 +44,7 @@ public: void MakeOptionDialogPage(lua_State *L, OPTIONSDIALOGPAGE &odp)
{
odp.hInstance = g_plugin.getInst();
- odp.hLangpack = CMLuaEnvironment::GetEnvironmentId(L);
+ odp.langId = CMLuaEnvironment::GetEnvironmentId(L);
lua_getfield(L, -1, "Flags");
odp.flags = luaL_optinteger(L, -1, ODPF_BOLDGROUPS | ODPF_UNICODE | ODPF_DONTTRANSLATE);
|