From e32d1f001fd799cf3c21b663ce954cdf3d7109b4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 22 May 2018 14:34:09 +0300 Subject: Srmm_AddIcon unbound from hLangpack --- plugins/HistorySweeperLight/src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/HistorySweeperLight/src') 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); -- cgit v1.2.3