summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src/icons.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-06-23 18:14:06 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-06-23 18:14:06 +0300
commitc7f6afe4b2f0dd41d7a97ea26075398bf7bd1843 (patch)
tree5f2509e6f2a6d010353375024a170e1d8b904a35 /plugins/New_GPG/src/icons.cpp
parent7e120902cd5b5fe17bf9cbdd799802a20eee5c6e (diff)
New_GPG: fix for extra icon's behavior
Diffstat (limited to 'plugins/New_GPG/src/icons.cpp')
-rwxr-xr-xplugins/New_GPG/src/icons.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/New_GPG/src/icons.cpp b/plugins/New_GPG/src/icons.cpp
index 70271a654f..c9f640c498 100755
--- a/plugins/New_GPG/src/icons.cpp
+++ b/plugins/New_GPG/src/icons.cpp
@@ -48,8 +48,8 @@ void setSrmmIcon(MCONTACT h)
if (hMC != hContact)
Srmm_SetIconFlags(hMC, MODULENAME, 2, flags);
- const char *szIconId = (enabled) ? "secured" : nullptr;
- ExtraIcon_SetIconByName(globals.g_hCLIcon, hContact, szIconId);
+ const char *szIconId = (enabled) ? "secured" : "unsecured";
+ ExtraIcon_SetIconByName(g_plugin.hCLIcon, hContact, szIconId);
if (hMC != hContact)
- ExtraIcon_SetIconByName(globals.g_hCLIcon, hMC, szIconId);
+ ExtraIcon_SetIconByName(g_plugin.hCLIcon, hMC, szIconId);
}