summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/config.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-04-30 19:08:03 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-04-30 19:08:03 +0000
commit3cc290e219e05ce8d6cde0aa050e281301f010aa (patch)
tree7f734bce70c51eb366c3f0af54e531484a6cc802 /plugins/Clist_nicer/src/config.cpp
parentecda452d25f745f2f3c6a3a4a56ccc40ad64b7c3 (diff)
cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@13308 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/src/config.cpp')
-rw-r--r--plugins/Clist_nicer/src/config.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/Clist_nicer/src/config.cpp b/plugins/Clist_nicer/src/config.cpp
index 214082dced..185affedf0 100644
--- a/plugins/Clist_nicer/src/config.cpp
+++ b/plugins/Clist_nicer/src/config.cpp
@@ -27,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
TCluiData cfg::dat = {0};
ClcData* cfg::clcdat = 0;
-static CRITICAL_SECTION cachecs;
+static mir_cs cachecs;
LIST<TExtraCache> cfg::arCache(100, LIST<TExtraCache>::FTSortFunc(NumericKeySortT));
bool cfg::shutDown = false;
@@ -47,11 +47,6 @@ int API::exLine = 0;
bool API::exAllowContinue = false;
HMODULE API::hDwm = 0;
-void cfg::init()
-{
- InitializeCriticalSection(&cachecs);
-}
-
DWORD cfg::getDword(const MCONTACT hContact = 0, const char *szModule = 0, const char *szSetting = 0, DWORD uDefault = 0)
{
return ((DWORD)db_get_dw(hContact, szModule, szSetting, uDefault));
@@ -198,7 +193,6 @@ void CSH_Destroy()
}
cfg::arCache.destroy();
- DeleteCriticalSection(&cachecs);
}
void API::onInit()