diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-22 19:19:59 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-22 19:19:59 +0300 |
commit | 648ef4e3b4b7d2d4796021bfe193064708f1a3e7 (patch) | |
tree | 825bb3cfd78637243b088bd0fb14c36a532a41c3 /src | |
parent | 8557d288376ccc87bd54f2a76c99f77115949f02 (diff) |
code cleaning
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_app/src/srmm_toolbar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/src/srmm_toolbar.cpp b/src/mir_app/src/srmm_toolbar.cpp index 4b3ddc1aae..409246602b 100644 --- a/src/mir_app/src/srmm_toolbar.cpp +++ b/src/mir_app/src/srmm_toolbar.cpp @@ -99,7 +99,7 @@ MIR_APP_DLL(HANDLE) Srmm_AddButton(const BBButton *bbdi, int _hLang) cbd->m_bDisabled = (bbdi->bbbFlags & BBBF_DISABLED) != 0; cbd->m_bPushButton = (bbdi->bbbFlags & BBBF_ISPUSHBUTTON) != 0; - cbd->m_hLangpack = _hLang; + cbd->m_iLangId = _hLang; cbd->m_dwOrigFlags.bit1 = cbd->m_bRSided = (bbdi->bbbFlags & BBBF_ISRSIDEBUTTON) != 0; cbd->m_dwOrigFlags.bit2 = cbd->m_bIMButton = (bbdi->bbbFlags & BBBF_ISIMBUTTON) != 0; @@ -786,7 +786,7 @@ void KillModuleToolbarIcons(int _hLang) { auto T = arButtonsList.rev_iter(); for (auto &cbd : T) - if (cbd->m_hLangpack == _hLang) { + if (cbd->m_iLangId == _hLang) { delete cbd; arButtonsList.remove(T.indexOf(&cbd)); } |