From 30ab6ceb71842f003f649b3d62b89af010cf40d1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 20 Jun 2012 17:00:14 +0000 Subject: - direct call of MS_SKIN_ADDNEWSOUND replaced with Skin_AddSound() call; - obsolete structure SKINSOUNDDESC removed - dynamically translated hot keys; - checked correct LPGEN'ing of the sounds creation; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@500 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/AVS/acc.cpp | 2 +- plugins/AVS/commonheaders.h | 2 +- plugins/AVS/image_utils.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/AVS') 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 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; -- cgit v1.2.3