diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-11 11:36:49 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-11 11:36:49 +0000 |
commit | 95bd3625cbe8e9a20b69a8a5a994b777fd5ad3a2 (patch) | |
tree | c936c2ccdd0ecc11df2b2618b790b8e3cb0aa240 /src/core | |
parent | fe7e3a6032bf680998da291616f39c679920f481 (diff) |
cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@13526 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stdmsg/src/richutil.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/stdmsg/src/richutil.cpp b/src/core/stdmsg/src/richutil.cpp index 614b98e0cc..3c53b9c868 100644 --- a/src/core/stdmsg/src/richutil.cpp +++ b/src/core/stdmsg/src/richutil.cpp @@ -47,7 +47,7 @@ static int RichUtil_CmpVal(void *p1, void *p2) return (int)((INT_PTR)tp1->hwnd - (INT_PTR)tp2->hwnd);
}
-static CRITICAL_SECTION csRich;
+static mir_cs csRich;
static LRESULT CALLBACK RichUtil_Proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
static void RichUtil_ClearUglyBorder(TRichUtil *ru);
@@ -56,14 +56,11 @@ void RichUtil_Load(void) {
sListInt.increment = 10;
sListInt.sortFunc = RichUtil_CmpVal;
-
- InitializeCriticalSection(&csRich);
}
void RichUtil_Unload(void)
{
List_Destroy(&sListInt);
- DeleteCriticalSection(&csRich);
}
int RichUtil_SubClass(HWND hwndEdit)
|