From 1baa7a1a29c0af4b3c4744b05cb91b4fb41831a5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 24 Sep 2023 13:01:26 +0300 Subject: code cleaning --- plugins/SmileyAdd/src/services.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/SmileyAdd/src/services.cpp') diff --git a/plugins/SmileyAdd/src/services.cpp b/plugins/SmileyAdd/src/services.cpp index b94bdd48ad..f14cef58ae 100644 --- a/plugins/SmileyAdd/src/services.cpp +++ b/plugins/SmileyAdd/src/services.cpp @@ -217,7 +217,7 @@ INT_PTR CustomCatMenu(WPARAM hContact, LPARAM lParam) if (lParam == 1) empty = L""; opt.WriteContactCategory(hContact, empty); } - NotifyEventHooks(hEvent1, hContact, 0); + NotifyEventHooks(g_hevOptionsChanged, hContact, 0); } for (auto &it : menuHandleArray) @@ -315,7 +315,7 @@ INT_PTR ReloadPack(WPARAM, LPARAM lParam) g_SmileyCategories.ClearAndLoadAll(); } - NotifyEventHooks(hEvent1, 0, 0); + NotifyEventHooks(g_hevOptionsChanged, 0, 0); return 0; } @@ -326,12 +326,12 @@ INT_PTR LoadContactSmileys(WPARAM, LPARAM lParam) switch (cont->type) { case 0: g_SmileyPackCStore.AddSmileyPack(cont->pszModule, cont->path); - NotifyEventHooks(hEvent1, (WPARAM)cont->pszModule, 0); + NotifyEventHooks(g_hevOptionsChanged, (WPARAM)cont->pszModule, 0); break; case 1: g_SmileyPackCStore.AddSmiley(cont->pszModule, cont->path); - NotifyEventHooks(hEvent1, (WPARAM)cont->pszModule, 0); + NotifyEventHooks(g_hevOptionsChanged, (WPARAM)cont->pszModule, 0); break; case 2: -- cgit v1.2.3