summaryrefslogtreecommitdiff
path: root/plugins/Variables/src/tokenregister.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-04-30 06:07:51 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-04-30 06:07:51 +0000
commit2f0617376dcb4be5b837c5f888762e4e1ef3aceb (patch)
tree25d3640030a60a7e4b4006877064f1ec28936c7e /plugins/Variables/src/tokenregister.cpp
parent6612e80e4d91179b9a315cf0c81a20cf96c9b415 (diff)
cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@13272 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Variables/src/tokenregister.cpp')
-rw-r--r--plugins/Variables/src/tokenregister.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Variables/src/tokenregister.cpp b/plugins/Variables/src/tokenregister.cpp
index f4865e84e5..a4722f82d2 100644
--- a/plugins/Variables/src/tokenregister.cpp
+++ b/plugins/Variables/src/tokenregister.cpp
@@ -35,7 +35,7 @@ static int CompareTokens(const TokenRegisterEntry* p1, const TokenRegisterEntry*
static LIST<TokenRegisterEntry> tokens(100, CompareTokens);
-static CRITICAL_SECTION csRegister;
+static mir_cs csRegister;
unsigned long int hashlittle(void *key, size_t length, unsigned long int initval);
@@ -235,7 +235,6 @@ int getTokenRegisterCount()
int initTokenRegister()
{
- InitializeCriticalSection(&csRegister);
return 0;
}
@@ -259,6 +258,5 @@ int deinitTokenRegister()
}
tokens.destroy();
- DeleteCriticalSection(&csRegister);
return 0;
}