summaryrefslogtreecommitdiff
path: root/plugins/FingerprintNG/src/prepare.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/FingerprintNG/src/prepare.cpp')
-rw-r--r--plugins/FingerprintNG/src/prepare.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/FingerprintNG/src/prepare.cpp b/plugins/FingerprintNG/src/prepare.cpp
index f2d21000cb..b11947cf5c 100644
--- a/plugins/FingerprintNG/src/prepare.cpp
+++ b/plugins/FingerprintNG/src/prepare.cpp
@@ -229,7 +229,7 @@ void RegisterCustomIcons()
_wcsupr_s(pMask->szMaskUpper, iMaskLen);
pMask->szMask = pMask->szMaskUpper;
- pMask->iIconIndex = it["iconFile"].as_int();
+ pMask->iIconIndex = it["iconIndex"].as_int();
pMask->szIconName = szName.Detach();
pMask->szClientDescription = szDescription.Detach();
@@ -243,6 +243,6 @@ void RegisterCustomIcons()
pMask->hIcolibItem = g_plugin.addIcon(&sid);
pMask->idx = g_arCommon.getCount();
- g_arCommon.insert(pMask);
+ g_arCommon.insert(pMask, 0);
}
}