summaryrefslogtreecommitdiff
path: root/plugins/BossKeyPlus/src/BossKey.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-09-25 10:58:24 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-09-25 10:58:24 +0000
commitdd1460d664f7266920b07527f25f87ec8233daaf (patch)
tree3753e6fa678edf1b3d9bb020bb97e16ca75ff69d /plugins/BossKeyPlus/src/BossKey.cpp
parent9ff92d1cc83e39859891a65f5ada186806cef133 (diff)
valid options initialization
git-svn-id: http://svn.miranda-ng.org/main/trunk@6225 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/BossKeyPlus/src/BossKey.cpp')
-rw-r--r--plugins/BossKeyPlus/src/BossKey.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/BossKeyPlus/src/BossKey.cpp b/plugins/BossKeyPlus/src/BossKey.cpp
index 370eb8500c..9018cafb88 100644
--- a/plugins/BossKeyPlus/src/BossKey.cpp
+++ b/plugins/BossKeyPlus/src/BossKey.cpp
@@ -217,7 +217,7 @@ BOOL CALLBACK EnumWindowsProc(HWND hWnd,LPARAM)
ShowWindow(hWnd,SW_HIDE);
}
}
- return(true);
+ return true;
}
TCHAR* GetDefStatusMsg(unsigned uStatus, const char* szProto)
@@ -414,7 +414,7 @@ LRESULT CALLBACK ListenWndProc(HWND hWnd,UINT uMsg,WPARAM wParam,LPARAM lParam)
g_bOldSetting |= OLD_WASHIDDEN;
db_set_b(NULL, MOD_NAME, "OldSetting", g_bOldSetting);
- return(0);
+ return 0;
} break;
case WM_USER+52: // back
{
@@ -480,7 +480,7 @@ LRESULT CALLBACK ListenWndProc(HWND hWnd,UINT uMsg,WPARAM wParam,LPARAM lParam)
g_bWindowHidden = false;
db_set_b(NULL, MOD_NAME, "OldSetting", 0);
- return(0);
+ return 0;
} break;
default:break;
}
@@ -764,7 +764,7 @@ int MirandaLoaded(WPARAM,LPARAM)
if ((g_wMaskAdv & OPT_HIDEONSTART) || (g_wMaskAdv & OPT_RESTORE && g_bOldSetting))
BossKeyHideMiranda(0, 0);
- return(0);
+ return 0;
}
extern "C" int __declspec(dllexport) Load(void)
@@ -833,5 +833,5 @@ extern "C" int __declspec(dllexport) Unload(void)
delete[] oldStatus;
delete[] oldStatusMsg;
- return(0);
+ return 0;
}