summaryrefslogtreecommitdiff
path: root/plugins/SpellChecker/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-03-07 18:48:03 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-03-07 22:40:54 +0300
commitfab3905d91890102046dcc4554721991ae8ff413 (patch)
tree7514ac3e6739bf09447e9ff5c0926fee7bfe8155 /plugins/SpellChecker/src
parent4138d31dd4609d4c29e7bd0dd8dcdedf5f3245b6 (diff)
Skin_GetProtoIcon - new function to retrieve status icon's handle
Diffstat (limited to 'plugins/SpellChecker/src')
-rw-r--r--plugins/SpellChecker/src/spellchecker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SpellChecker/src/spellchecker.cpp b/plugins/SpellChecker/src/spellchecker.cpp
index 348946325e..0d99fb96b6 100644
--- a/plugins/SpellChecker/src/spellchecker.cpp
+++ b/plugins/SpellChecker/src/spellchecker.cpp
@@ -74,7 +74,7 @@ static int IconsChanged(WPARAM, LPARAM)
wchar_t tmp[128];
mir_snwprintf(tmp, L"%s - %s", TranslateT("Spell Checker"), languages[i]->full_name);
- sid.tszTooltip = tmp;
+ sid.szTooltip.w = tmp;
HICON hIcon = (opts.use_flags) ? IcoLib_GetIconByHandle(languages[i]->hIcolib) : IcoLib_GetIcon("spellchecker_enabled");
sid.hIcon = CopyIcon(hIcon);
@@ -194,7 +194,7 @@ static int ModulesLoaded(WPARAM, LPARAM)
wchar_t tmp[128];
mir_snwprintf(tmp, L"%s - %s", TranslateT("Spell Checker"), languages[i]->full_name);
- sid.tszTooltip = tmp;
+ sid.szTooltip.w = tmp;
sid.hIcon = (opts.use_flags) ? IcoLib_GetIconByHandle(languages[i]->hIcolib) : IcoLib_GetIcon("spellchecker_enabled");
Srmm_AddIcon(&sid, &g_plugin);
}