From 505322a5252f6ecffe3ee99ddc41df71db13fd06 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 14 Apr 2015 15:37:05 +0000 Subject: duplicated macro removed git-svn-id: http://svn.miranda-ng.org/main/trunk@12813 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/utils/bmpfilter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/utils') diff --git a/src/modules/utils/bmpfilter.cpp b/src/modules/utils/bmpfilter.cpp index 982b4cd8d7..b97b2699b6 100644 --- a/src/modules/utils/bmpfilter.cpp +++ b/src/modules/utils/bmpfilter.cpp @@ -94,7 +94,7 @@ static INT_PTR sttBitmapLoader(const TCHAR* ptszFileName) return (INT_PTR)cbFileSize; } } - if (S_OK != OleLoadPicturePath(LPOLESTR((const wchar_t*)StrConvU(szFilename)), NULL, 0, 0, IID_IPicture, (PVOID*)&pic)) + if (S_OK != OleLoadPicturePath(LPOLESTR(szFilename), NULL, 0, 0, IID_IPicture, (PVOID*)&pic)) return 0; pic->get_Type(&picType); @@ -128,7 +128,7 @@ static INT_PTR sttBitmapLoader(const TCHAR* ptszFileName) static INT_PTR BmpFilterLoadBitmap(WPARAM, LPARAM lParam) { - return sttBitmapLoader(StrConvT((const char*)lParam)); + return sttBitmapLoader(_A2T((const char*)lParam)); } static INT_PTR BmpFilterLoadBitmapW(WPARAM, LPARAM lParam) -- cgit v1.2.3