summaryrefslogtreecommitdiff
path: root/plugins/AVS
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/AVS')
-rw-r--r--plugins/AVS/acc.cpp2
-rw-r--r--plugins/AVS/commonheaders.h2
-rw-r--r--plugins/AVS/image_utils.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/plugins/AVS/acc.cpp b/plugins/AVS/acc.cpp
index 5b6a08db3c..507245fca8 100644
--- a/plugins/AVS/acc.cpp
+++ b/plugins/AVS/acc.cpp
@@ -288,7 +288,7 @@ void AnimatedGifMountFrame(ACCData* data, int page)
RGBQUAD *pal = fei->FI_GetPalette(dib);
bool have_transparent = false;
int transparent_color = -1;
- if ( fei->FI_IsTransparent(dib) ) {
+ if ( fei->FI_IsTransparent(dib)) {
int count = fei->FI_GetTransparencyCount(dib);
BYTE *table = fei->FI_GetTransparencyTable(dib);
for ( int i = 0; i < count; i++ ) {
diff --git a/plugins/AVS/commonheaders.h b/plugins/AVS/commonheaders.h
index 70b0c88fae..5b9d4ee113 100644
--- a/plugins/AVS/commonheaders.h
+++ b/plugins/AVS/commonheaders.h
@@ -109,7 +109,7 @@ extern OBJLIST<protoPicCacheEntry> g_ProtoPictures, g_MyAvatars;
int SetAvatarAttribute(HANDLE hContact, DWORD attrib, int mode);
-#define MAX_REGS(_A_) ( sizeof(_A_) / sizeof(_A_[0]) )
+#define MAX_REGS(_A_) ( sizeof(_A_) / sizeof(_A_[0]))
#define GAIR_FAILED 1000
diff --git a/plugins/AVS/image_utils.cpp b/plugins/AVS/image_utils.cpp
index 3a7c43a707..35cb33259a 100644
--- a/plugins/AVS/image_utils.cpp
+++ b/plugins/AVS/image_utils.cpp
@@ -18,7 +18,7 @@ extern int _DebugTrace(const char *fmt, ...);
extern int _DebugTrace(HANDLE hContact, const char *fmt, ...);
-#define GET_PIXEL(__P__, __X__, __Y__) ( __P__ + width * 4 * (__Y__) + 4 * (__X__) )
+#define GET_PIXEL(__P__, __X__, __Y__) ( __P__ + width * 4 * (__Y__) + 4 * (__X__))
extern FI_INTERFACE *fei;