diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-24 17:53:57 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-06-24 17:53:57 +0000 |
commit | e9076d17356c6ed89fbca3441ca866b704fd9bb6 (patch) | |
tree | 7cb133b297a788cb8a037218b78ce66b87d1699a /src/modules/srfile | |
parent | 93f8d360b9643304448c0da539ed76d4839fe240 (diff) |
removed extra spaces
git-svn-id: http://svn.miranda-ng.org/main/trunk@608 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/srfile')
-rw-r--r-- | src/modules/srfile/ftmanager.cpp | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/src/modules/srfile/ftmanager.cpp b/src/modules/srfile/ftmanager.cpp index 3c675b5acf..08b4a9e59c 100644 --- a/src/modules/srfile/ftmanager.cpp +++ b/src/modules/srfile/ftmanager.cpp @@ -162,9 +162,9 @@ static INT_PTR CALLBACK FtMgrPageDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPA break;
}
- case WM_FT_COMPLETED:
- { //wParam: { ACKRESULT_SUCCESS | ACKRESULT_FAILED | ACKRESULT_DENIED }
- dat->runningCount--;
+ case WM_FT_COMPLETED:
+ { //wParam: { ACKRESULT_SUCCESS | ACKRESULT_FAILED | ACKRESULT_DENIED }
+ dat->runningCount--;
int i = 0;
while (i < dat->wnds->realCount)
{
@@ -179,10 +179,10 @@ static INT_PTR CALLBACK FtMgrPageDlgProc(HWND hwnd, UINT msg, WPARAM wParam, LPA if (i == dat->wnds->realCount)
PostMessage(GetParent(hwnd), WM_TIMER, 1, NULL);
- if (dat->runningCount == 0 && (int)wParam == ACKRESULT_SUCCESS && DBGetContactSettingByte(NULL, "SRFile", "AutoClose", 0))
- ShowWindow(hwndFtMgr, SW_HIDE);
- break;
- }
+ if(dat->runningCount == 0 && (int)wParam == ACKRESULT_SUCCESS && DBGetContactSettingByte(NULL, "SRFile", "AutoClose", 0))
+ ShowWindow(hwndFtMgr, SW_HIDE);
+ break;
+ }
case WM_FT_CLEANUP:
{
@@ -534,37 +534,37 @@ HWND FtMgr_Show(bool bForceActivate, bool bFromMenu) {
bool bAutoMin = DBGetContactSettingByte(NULL, "SRFile", "AutoMin", 0) != 0; /* lqbe */
- bool bJustCreated = (hwndFtMgr == NULL);
- if (bJustCreated)
- {
- hwndFtMgr = CreateDialog(hMirandaInst, MAKEINTRESOURCE(IDD_FTMGR), NULL, FtMgrDlgProc);
- }
+ bool bJustCreated = (hwndFtMgr == NULL);
+ if (bJustCreated)
+ {
+ hwndFtMgr = CreateDialog(hMirandaInst, MAKEINTRESOURCE(IDD_FTMGR), NULL, FtMgrDlgProc);
+ }
if (bFromMenu) /* lqbe */
- {
+ {
ShowWindow(hwndFtMgr, SW_RESTORE);
- ShowWindow(hwndFtMgr, SW_SHOW);
- SetForegroundWindow(hwndFtMgr);
- return hwndFtMgr;
- }
+ ShowWindow(hwndFtMgr, SW_SHOW);
+ SetForegroundWindow(hwndFtMgr);
+ return hwndFtMgr;
+ }
else if (bAutoMin && bJustCreated) /* lqbe */
- {
- ShowWindow(hwndFtMgr, SW_HIDE);
- ShowWindow(hwndFtMgr, SW_MINIMIZE);
+ {
+ ShowWindow(hwndFtMgr, SW_HIDE);
+ ShowWindow(hwndFtMgr, SW_MINIMIZE);
return hwndFtMgr;
- }
+ }
else if (bForceActivate) /* lqbe */
{
ShowWindow(hwndFtMgr, SW_RESTORE);
ShowWindow(hwndFtMgr, SW_SHOWNOACTIVATE);
SetForegroundWindow(hwndFtMgr);
- return hwndFtMgr;
+ return hwndFtMgr;
}
if ( !bJustCreated && IsWindowVisible(hwndFtMgr))
return hwndFtMgr;
-
+
ShowWindow(hwndFtMgr, bAutoMin ? SW_SHOWMINNOACTIVE : SW_SHOWNOACTIVATE);
- return hwndFtMgr;
- }
+ return hwndFtMgr;
+}
void FtMgr_Destroy()
{
|