summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/modern_aniavatars.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-10 19:12:33 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-10 19:12:33 +0000
commit7334ecff1581f0294e6fa7f594f828f85d45abb5 (patch)
tree5d16997f326a1d6ad0e3921c5ce9623817d55f9a /plugins/Clist_modern/modern_aniavatars.cpp
parent9242a80a84fa5c96dbadec9594177875aeeec1ac (diff)
- fix for View mode frame;
- many unneeded spaces removed git-svn-id: http://svn.miranda-ng.org/main/trunk@893 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/modern_aniavatars.cpp')
-rw-r--r--plugins/Clist_modern/modern_aniavatars.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_modern/modern_aniavatars.cpp b/plugins/Clist_modern/modern_aniavatars.cpp
index 6e9acf04d5..88611fa1d0 100644
--- a/plugins/Clist_modern/modern_aniavatars.cpp
+++ b/plugins/Clist_modern/modern_aniavatars.cpp
@@ -195,7 +195,7 @@ int AniAva_InitModule()
memset(&AniAva,0,sizeof(AniAva));
if (g_CluiData.fGDIPlusFail) return 0;
if ( !( db_get_b(NULL,"CList","AvatarsAnimated",(ServiceExists(MS_AV_GETAVATARBITMAP) && !g_CluiData.fGDIPlusFail))
- && db_get_b(NULL,"CList","AvatarsShow",SETTINGS_SHOWAVATARS_DEFAULT)) ) return 0;
+ && db_get_b(NULL,"CList","AvatarsShow",SETTINGS_SHOWAVATARS_DEFAULT))) return 0;
{
WNDCLASSEX wc;
ZeroMemory(&wc, sizeof(wc));
@@ -882,7 +882,7 @@ static void _AniAva_RenderAvatar(ANIAVA_WINDOWINFO * dat, HDC hdcParent /*= NULL
DeleteObject(hRgn);
}
- if ( ( AniAva.bFlags & AAO_HAS_OVERLAY )
+ if (( AniAva.bFlags & AAO_HAS_OVERLAY )
&& ( dat->overlayIconIdx != -1 )
&& ( AniAva.overlayIconImageList ))
{
@@ -1000,7 +1000,7 @@ static void _AniAva_LoadOptions()
AniAva.bFlags = (db_get_b(NULL,"CList","AvatarsDrawBorders",SETTINGS_AVATARDRAWBORDER_DEFAULT)? AAO_HAS_BORDER :0) |
(db_get_b(NULL,"CList","AvatarsRoundCorners",SETTINGS_AVATARROUNDCORNERS_DEFAULT)? AAO_ROUND_CORNERS :0) |
(db_get_b(NULL,"CList","AvatarsDrawOverlay",SETTINGS_AVATARDRAWOVERLAY_DEFAULT)? AAO_HAS_OVERLAY :0) |
- ( (0) ? AAO_OPAQUE :0);
+ ((0) ? AAO_OPAQUE :0);
if (AniAva.bFlags & AAO_HAS_BORDER)
AniAva.borderColor = (COLORREF)db_get_dw(NULL,"CList","AvatarsBorderColor",SETTINGS_AVATARBORDERCOLOR_DEFAULT);;