From 2bb514f4195c99b52e0ec748c975c0fd30dbbd25 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 1 Jun 2015 18:10:32 +0000 Subject: another bunch of dead crutches: non-unicode avatar services git-svn-id: http://svn.miranda-ng.org/main/trunk@13961 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_string.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/m_string.h') diff --git a/include/m_string.h b/include/m_string.h index 4619222fe9..5fe5990fb9 100644 --- a/include/m_string.h +++ b/include/m_string.h @@ -607,18 +607,18 @@ public: return _vscwprintf(pszFormat, args); } - static int __stdcall Format(LPWSTR pszBuffer, LPCWSTR pszFormat, va_list args) - { #pragma warning (push) #pragma warning(disable : 4996) - return vswprintf(pszBuffer, pszFormat, args); //!!!!!!!!! -#pragma warning (pop) + static int __stdcall Format(LPWSTR pszBuffer, LPCWSTR pszFormat, va_list args) + { + return vswprintf(pszBuffer, pszFormat, args); } static int __stdcall Format(LPWSTR pszBuffer, size_t nLength, LPCWSTR pszFormat, va_list args) { return _vsnwprintf(pszBuffer, nLength, pszFormat, args); } +#pragma warning (pop) static int __stdcall GetBaseTypeLength(LPCSTR pszSrc) { -- cgit v1.2.3