summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/opt_skins.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
commit78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch)
tree8512c50df70b8dd80c919e88ade3419207c95956 /plugins/Popup/src/opt_skins.cpp
parentce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff)
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Popup/src/opt_skins.cpp')
-rw-r--r--plugins/Popup/src/opt_skins.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/Popup/src/opt_skins.cpp b/plugins/Popup/src/opt_skins.cpp
index d91efe5afd..033c26c6a7 100644
--- a/plugins/Popup/src/opt_skins.cpp
+++ b/plugins/Popup/src/opt_skins.cpp
@@ -211,7 +211,7 @@ int SkinOptionList_AddSkin(OPTTREE_OPTION* &options, int *OptionsCount, int pos
LPTSTR pszName = NULL;
if (skin = skins.getSkin(PopUpOptions.SkinPack)) {
for (int i = 1; i <= 10; i++) {
- if(!skin->getFlagName(i))
+ if (!skin->getFlagName(i))
continue;
*OptionsCount += 1;
options = (OPTTREE_OPTION*)mir_realloc(options,sizeof(OPTTREE_OPTION)*(*OptionsCount));
@@ -249,17 +249,17 @@ int SkinOptionList_AddMain(OPTTREE_OPTION* &options, int *OptionsCount, int pos
bCheck = PopUpOptions.DisplayTime;
break;
case 1:
- if(!IsWinVerXPPlus()) continue;
+ if (!IsWinVerXPPlus()) continue;
*dwGlobalOptions |= PopUpOptions.DropShadow ? (1 << i) : 0;
bCheck = PopUpOptions.DropShadow;
break;
case 2:
- if(!IsWinVerXPPlus()) continue;
+ if (!IsWinVerXPPlus()) continue;
*dwGlobalOptions |= PopUpOptions.EnableFreeformShadows ? (1 << i) : 0;
bCheck = PopUpOptions.EnableFreeformShadows;
break;
case 3:
- if(!MyDwmEnableBlurBehindWindow) continue;
+ if (!MyDwmEnableBlurBehindWindow) continue;
*dwGlobalOptions |= PopUpOptions.EnableAeroGlass ? (1 << i) : 0;
bCheck = PopUpOptions.EnableAeroGlass;
break;
@@ -268,7 +268,7 @@ int SkinOptionList_AddMain(OPTTREE_OPTION* &options, int *OptionsCount, int pos
bCheck = PopUpOptions.UseWinColors;
break;
case 5:
- if(!(htuText&&htuTitle)) continue;
+ if (!(htuText&&htuTitle)) continue;
*dwGlobalOptions |= PopUpOptions.UseMText ? (1 << i) : 0;
bCheck = PopUpOptions.UseMText;
break;
@@ -521,7 +521,7 @@ INT_PTR CALLBACK DlgProcPopSkinsOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR
return FALSE;
case WM_NOTIFY: {
- if(!bDlgInit) return FALSE;
+ if (!bDlgInit) return FALSE;
switch (((LPNMHDR)lParam)->idFrom) {
case 0: {
switch (((LPNMHDR)lParam)->code) {