summaryrefslogtreecommitdiff
path: root/plugins/AVS/image_utils.h
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-06-14 08:19:18 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-06-14 08:19:18 +0000
commit1784cdf49b8196219563795cf3b11b7c4c2a6746 (patch)
tree2709ee261bcfe10ce6cdbf8b709b6dbb6601fd93 /plugins/AVS/image_utils.h
parent56f5e6a1ccee8e4b1c800ee1577ee59486940f3a (diff)
"#ifsef Unicode" removal - first commit
git-svn-id: http://svn.miranda-ng.org/main/trunk@408 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AVS/image_utils.h')
-rw-r--r--plugins/AVS/image_utils.h16
1 files changed, 4 insertions, 12 deletions
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);