From 95bd3625cbe8e9a20b69a8a5a994b777fd5ad3a2 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Mon, 11 May 2015 11:36:49 +0000 Subject: cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@13526 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/stdmsg/src/richutil.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/core') 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) -- cgit v1.2.3