diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-01 18:53:46 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-01 18:53:46 +0000 |
commit | e47e740b5138c81b7ddac61e99fa8bb9a39a3559 (patch) | |
tree | a94cf01cff15397f1b0959a0f7dbc6e013d34a4a /plugins/SpellChecker | |
parent | 08dc0f0af530f082093315d61ecb2377a410e88c (diff) |
useless icon copying removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@7447 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SpellChecker')
-rw-r--r-- | plugins/SpellChecker/src/spellchecker.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/plugins/SpellChecker/src/spellchecker.cpp b/plugins/SpellChecker/src/spellchecker.cpp index 31f5e40057..f3358554aa 100644 --- a/plugins/SpellChecker/src/spellchecker.cpp +++ b/plugins/SpellChecker/src/spellchecker.cpp @@ -212,11 +212,7 @@ static int ModulesLoaded(WPARAM wParam, LPARAM lParam) mir_sntprintf(tmp, SIZEOF(tmp), _T("%s - %s"), TranslateT("Spell Checker"), languages[i]->full_name); sid.tszTooltip = tmp; - - HICON hIcon = (opts.use_flags) ? Skin_GetIconByHandle(languages[i]->hIcolib) : Skin_GetIcon("spellchecker_enabled"); - sid.hIcon = CopyIcon(hIcon); - Skin_ReleaseIcon(hIcon); - + sid.hIcon = (opts.use_flags) ? Skin_GetIconByHandle(languages[i]->hIcolib) : Skin_GetIcon("spellchecker_enabled"); Srmm_AddIcon(&sid); } |