summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/clistmenus.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2016-12-02 23:55:15 +0300
committerGeorge Hazan <ghazan@miranda.im>2016-12-02 23:55:15 +0300
commit4882bc420186a4aef19be699e3f621dec932417d (patch)
tree4bd45d158a1a1470d590edbbb71098721d650333 /plugins/Clist_nicer/src/clistmenus.cpp
parent10091bbca1380a1d8e3b9d61b8c175490036af5b (diff)
MS_SYSTEM_* services became functions
Diffstat (limited to 'plugins/Clist_nicer/src/clistmenus.cpp')
-rw-r--r--plugins/Clist_nicer/src/clistmenus.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/Clist_nicer/src/clistmenus.cpp b/plugins/Clist_nicer/src/clistmenus.cpp
index 5a71b78328..0a842dff26 100644
--- a/plugins/Clist_nicer/src/clistmenus.cpp
+++ b/plugins/Clist_nicer/src/clistmenus.cpp
@@ -34,10 +34,9 @@ void InitIconLibMenuIcons();
INT_PTR CloseAction(WPARAM, LPARAM)
{
- int k;
cfg::shutDown = 1;
- k = CallService(MS_SYSTEM_OKTOEXIT, 0, 0);
- if (k) {
+
+ if (Miranda_OkToExit()) {
DestroyWindow(pcli->hwndContactList);
PostQuitMessage(0);
Sleep(0);