From 1784cdf49b8196219563795cf3b11b7c4c2a6746 Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Thu, 14 Jun 2012 08:19:18 +0000 Subject: "#ifsef Unicode" removal - first commit git-svn-id: http://svn.miranda-ng.org/main/trunk@408 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AVS/image_utils.h | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'plugins/AVS/image_utils.h') diff --git a/plugins/AVS/image_utils.h b/plugins/AVS/image_utils.h index 2dd75d8211..eadb2a3cfe 100644 --- a/plugins/AVS/image_utils.h +++ b/plugins/AVS/image_utils.h @@ -16,12 +16,8 @@ INT_PTR BmpFilterLoadBitmap32(WPARAM wParam,LPARAM lParam); // wParam = HBITMAP // lParam = full path of filename INT_PTR BmpFilterSaveBitmap(WPARAM wParam,LPARAM lParam); -#if defined(_UNICODE) - INT_PTR BmpFilterSaveBitmapW(WPARAM wParam,LPARAM lParam); - #define BmpFilterSaveBitmapT BmpFilterSaveBitmapW -#else - #define BmpFilterSaveBitmapT BmpFilterSaveBitmap -#endif +INT_PTR BmpFilterSaveBitmapW(WPARAM wParam,LPARAM lParam); +#define BmpFilterSaveBitmapT BmpFilterSaveBitmapW // Returns != 0 if can save that type of image, = 0 if cant // wParam = 0 @@ -35,12 +31,8 @@ INT_PTR BmpFilterResizeBitmap(WPARAM wParam,LPARAM lParam); int BmpFilterSaveBitmap(HBITMAP hBmp, char *szFile, int flags); -#if defined(_UNICODE) - int BmpFilterSaveBitmapW(HBITMAP hBmp, wchar_t *wszFile, int flags); - #define BmpFilterSaveBitmapT BmpFilterSaveBitmapW -#else - #define BmpFilterSaveBitmapT BmpFilterSaveBitmap -#endif +int BmpFilterSaveBitmapW(HBITMAP hBmp, wchar_t *wszFile, int flags); +#define BmpFilterSaveBitmapT BmpFilterSaveBitmapW HBITMAP CopyBitmapTo32(HBITMAP hBitmap); -- cgit v1.2.3