From 754c5e27f878dc4a46131593e00e78e054faa995 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 1 Apr 2013 19:37:35 +0000 Subject: SecureIM: - thread cleaning; - fix SRMM status icon; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@4278 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/SecureIM/src/commonheaders.cpp | 32 +------------------------------- 1 file changed, 1 insertion(+), 31 deletions(-) (limited to 'plugins/SecureIM/src/commonheaders.cpp') diff --git a/plugins/SecureIM/src/commonheaders.cpp b/plugins/SecureIM/src/commonheaders.cpp index ed88af67f9..f23ef86633 100644 --- a/plugins/SecureIM/src/commonheaders.cpp +++ b/plugins/SecureIM/src/commonheaders.cpp @@ -86,34 +86,7 @@ void SetFlags() db_set_b(0, MODULENAME, "mcm", bMCM); } -struct A2U { - LPSTR a; - LPSTR u; -}; -typedef A2U* pA2U; - -pA2U pa2u; -int ca2u=0; - -LPSTR TranslateU( LPCSTR lpText ) -{ - int i; - for (i=0;iutf8encode(lpwTran)); - return pa2u[i].u; -} - -int msgbox( HWND hWnd, LPCSTR lpText, LPCSTR lpCaption, UINT uType) +int msgbox(HWND hWnd, LPCSTR lpText, LPCSTR lpCaption, UINT uType) { LPWSTR lpwText = mir_a2u(lpText); LPWSTR lpwCaption = mir_a2u(lpCaption); @@ -139,7 +112,6 @@ void CopyToClipboard(HWND hwnd,LPSTR msg) CloseClipboard(); } -#if defined(_DEBUG) || defined(NETLIB_LOG) HANDLE hNetlibUser; void InitNetlib() @@ -168,7 +140,5 @@ int Sent_NetLog(const char *fmt,...) va_end(va); return CallService(MS_NETLIB_LOG,(WPARAM)hNetlibUser,(LPARAM)szText); } -#endif - // EOF -- cgit v1.2.3