summaryrefslogtreecommitdiff
path: root/plugins/NoHistory/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-22 14:34:09 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-22 14:34:09 +0300
commite32d1f001fd799cf3c21b663ce954cdf3d7109b4 (patch)
tree8b551d27daebead0d90429ddf2f163d18cbf3604 /plugins/NoHistory/src
parent775290b963def8a8f4ed9ec50e86f8d3ca438c46 (diff)
Srmm_AddIcon unbound from hLangpack
Diffstat (limited to 'plugins/NoHistory/src')
-rw-r--r--plugins/NoHistory/src/dllmain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/NoHistory/src/dllmain.cpp b/plugins/NoHistory/src/dllmain.cpp
index 014d9cbf56..bdaf770712 100644
--- a/plugins/NoHistory/src/dllmain.cpp
+++ b/plugins/NoHistory/src/dllmain.cpp
@@ -228,12 +228,12 @@ void SrmmMenu_Load()
sid.dwId = 0;
sid.szTooltip = LPGEN("History Enabled");
sid.hIcon = sid.hIconDisabled = hIconKeep;
- Srmm_AddIcon(&sid);
+ Srmm_AddIcon(&sid, g_plugin.m_hLang);
sid.dwId = 1;
sid.szTooltip = LPGEN("History Disabled");
sid.hIcon = sid.hIconDisabled = hIconRemove;
- Srmm_AddIcon(&sid);
+ Srmm_AddIcon(&sid, g_plugin.m_hLang);
// hook the window events so that we can can change the status of the icon
HookEvent(ME_MSG_WINDOWEVENT, WindowEvent);