summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-04-30 06:29:28 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-04-30 06:29:28 +0000
commit2ebe714aaa6004ba617f04d2d11b4e5a763c1074 (patch)
tree2f141368c72ffeab6135071712dea5d2abcdbe93
parent52aaeadfa39092aef26d5458904e430617d4a42a (diff)
cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@13276 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/SkypeStatusChange/src/main.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/SkypeStatusChange/src/main.cpp b/plugins/SkypeStatusChange/src/main.cpp
index 667e3fefe3..380b01f39b 100644
--- a/plugins/SkypeStatusChange/src/main.cpp
+++ b/plugins/SkypeStatusChange/src/main.cpp
@@ -87,7 +87,7 @@ private:
COptions g_Options;
CStatusInfo g_CurrStatusInfo;
-CRITICAL_SECTION g_csStatusInfo;
+mir_cs g_csStatusInfo;
int SSC_OnProtocolAck(WPARAM, LPARAM lParam)
{
@@ -280,7 +280,6 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD miranda
extern "C" int __declspec(dllexport) Load()
{
mir_getLP(&g_pluginInfo);
- InitializeCriticalSection(&g_csStatusInfo);
g_MsgIDSkypeControlAPIAttach = ::RegisterWindowMessage(_T("SkypeControlAPIAttach"));
g_MsgIDSkypeControlAPIDiscover = ::RegisterWindowMessage(_T("SkypeControlAPIDiscover"));
@@ -314,6 +313,5 @@ extern "C" int __declspec(dllexport) Load()
extern "C" __declspec(dllexport) int Unload(void) // Executed on DLL unload
{
- DeleteCriticalSection(&g_csStatusInfo);
return 0;
}