diff options
author | George Hazan <george.hazan@gmail.com> | 2023-09-24 13:01:26 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-09-24 13:01:26 +0300 |
commit | 1baa7a1a29c0af4b3c4744b05cb91b4fb41831a5 (patch) | |
tree | cbbace8fb4f649b943daf36ff859da2ac555112b /plugins/SmileyAdd/src/services.cpp | |
parent | 3b16ee4c238b3dda7858d3c2e26535b07a2317b4 (diff) |
code cleaning
Diffstat (limited to 'plugins/SmileyAdd/src/services.cpp')
-rw-r--r-- | plugins/SmileyAdd/src/services.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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"<None>";
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:
|