summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SmileyAdd')
-rw-r--r--plugins/SmileyAdd/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SmileyAdd/src/main.cpp b/plugins/SmileyAdd/src/main.cpp
index 30d45f33fc..3738dfb9f8 100644
--- a/plugins/SmileyAdd/src/main.cpp
+++ b/plugins/SmileyAdd/src/main.cpp
@@ -50,8 +50,6 @@ static IconItem icon = { LPGEN("Button smiley"), "SmileyAdd_ButtonSmiley", IDI_S
static int ModulesLoaded(WPARAM, LPARAM)
{
- Icon_Register(g_hInst, "SmileyAdd", &icon, 1);
-
CLISTMENUITEM mi = { sizeof(mi) };
mi.flags = CMIF_ROOTPOPUP;
mi.popupPosition = 2000070050;
@@ -90,6 +88,8 @@ extern "C" __declspec(dllexport) int Load(void)
InitImageCache();
+ Icon_Register(g_hInst, "SmileyAdd", &icon, 1);
+
g_SmileyCategories.SetSmileyPackStore(&g_SmileyPacks);
opt.Load();