summaryrefslogtreecommitdiff
path: root/src/core/stdclist
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-08-03 19:37:15 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-08-03 19:37:15 +0300
commita185b0078f635f7bc3a6e5fdf8579164732eb159 (patch)
treeb68c34caf0b387957502b2ba63b96736bd80cde5 /src/core/stdclist
parentf38fdd5fa8c435c42e31fcc8f99c796515355067 (diff)
core part of CloseAction went to the core
Diffstat (limited to 'src/core/stdclist')
-rw-r--r--src/core/stdclist/src/clistmenus.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/stdclist/src/clistmenus.cpp b/src/core/stdclist/src/clistmenus.cpp
index 81f248bf59..753352cc79 100644
--- a/src/core/stdclist/src/clistmenus.cpp
+++ b/src/core/stdclist/src/clistmenus.cpp
@@ -26,10 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
static INT_PTR CloseAction(WPARAM, LPARAM)
{
- while (!Miranda_OkToExit())
- Sleep(100);
-
- DestroyWindow(g_clistApi.hwndContactList);
+ Miranda_Close();
return 0;
}