diff options
Diffstat (limited to 'plugins/Clist_nicer/src/config.cpp')
-rw-r--r-- | plugins/Clist_nicer/src/config.cpp | 8 |
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()
|