summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-04-13 19:21:35 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-04-13 19:21:35 +0300
commit260b0eaf0fa2b7d822f5c09cf0db0a1bf6b55fb7 (patch)
tree16614c9280734751a597a91fcdba0554134248f0
parentccd1d2cf194034faa91ee353e544a9337d3fa993 (diff)
Fingerprint: extra icon's missing default image
-rw-r--r--plugins/FingerprintNG/src/fingerprint.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/FingerprintNG/src/fingerprint.cpp b/plugins/FingerprintNG/src/fingerprint.cpp
index c0ac0410c9..83ae37180d 100644
--- a/plugins/FingerprintNG/src/fingerprint.cpp
+++ b/plugins/FingerprintNG/src/fingerprint.cpp
@@ -887,6 +887,9 @@ int OnModulesLoaded(WPARAM, LPARAM)
RegisterIcons();
+ hExtraIcon = ExtraIcon_RegisterCallback("Client", LPGEN("Fingerprint"), "client_Miranda_unknown",
+ OnExtraIconListRebuild, OnExtraImageApply, OnExtraIconClick);
+
if (g_plugin.getByte("StatusBarIcon", 1)) {
StatusIconData sid = {};
sid.szModule = MODULENAME;
@@ -907,7 +910,4 @@ void InitFingerModule()
CreateServiceFunction(MS_FP_SAMECLIENTSW, ServiceSameClientsW);
CreateServiceFunction(MS_FP_GETCLIENTDESCRW, ServiceGetClientDescrW);
CreateServiceFunction(MS_FP_GETCLIENTICONW, ServiceGetClientIconW);
-
- hExtraIcon = ExtraIcon_RegisterCallback("Client", LPGEN("Fingerprint"), "client_Miranda_unknown",
- OnExtraIconListRebuild, OnExtraImageApply, OnExtraIconClick);
}