summaryrefslogtreecommitdiff
path: root/plugins/HistorySweeperLight/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/HistorySweeperLight/src
parent775290b963def8a8f4ed9ec50e86f8d3ca438c46 (diff)
Srmm_AddIcon unbound from hLangpack
Diffstat (limited to 'plugins/HistorySweeperLight/src')
-rw-r--r--plugins/HistorySweeperLight/src/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/HistorySweeperLight/src/main.cpp b/plugins/HistorySweeperLight/src/main.cpp
index 9f10d6ed7d..7a40acb1a0 100644
--- a/plugins/HistorySweeperLight/src/main.cpp
+++ b/plugins/HistorySweeperLight/src/main.cpp
@@ -94,25 +94,25 @@ static int OnModulesLoaded(WPARAM, LPARAM)
sid.szTooltip = LPGEN("Delete all events");
sid.flags = MBF_HIDDEN;
- Srmm_AddIcon(&sid);
+ Srmm_AddIcon(&sid, g_plugin.m_hLang);
sid.dwId = 1;
sid.hIcon = LoadIconEx("act1");
sid.szTooltip = time_stamp_strings[db_get_b(NULL, ModuleName, "StartupShutdownOlder", 0)];
sid.flags = MBF_HIDDEN;
- Srmm_AddIcon(&sid);
+ Srmm_AddIcon(&sid, g_plugin.m_hLang);
sid.dwId = 2;
sid.hIcon = LoadIconEx("act2");
sid.szTooltip = keep_strings[db_get_b(NULL, ModuleName, "StartupShutdownKeep", 0)];
sid.flags = MBF_HIDDEN;
- Srmm_AddIcon(&sid);
+ Srmm_AddIcon(&sid, g_plugin.m_hLang);
sid.dwId = 3;
sid.hIcon = LoadIconEx("actDel");
sid.szTooltip = LPGEN("Delete all events");
sid.flags = MBF_HIDDEN;
- Srmm_AddIcon(&sid);
+ Srmm_AddIcon(&sid, g_plugin.m_hLang);
HookEvent(ME_MSG_WINDOWEVENT, OnWindowEvent);
HookEvent(ME_MSG_ICONPRESSED, OnIconPressed);