summaryrefslogtreecommitdiff
path: root/src/modules/database/profilemanager.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-11-16 08:21:13 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-11-16 08:21:13 +0000
commitf907a78441c0540ba16a1bda82c883bb1eca237a (patch)
treeff0ab67c68b95e0820bbc19419492b01a92e91a7 /src/modules/database/profilemanager.cpp
parent58b6deafb08a2213936df9ab71ae69f28f62e41d (diff)
tabs and spaces cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@2326 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/database/profilemanager.cpp')
-rw-r--r--src/modules/database/profilemanager.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/modules/database/profilemanager.cpp b/src/modules/database/profilemanager.cpp
index e7b1898b2c..49cc0ae72f 100644
--- a/src/modules/database/profilemanager.cpp
+++ b/src/modules/database/profilemanager.cpp
@@ -204,7 +204,9 @@ static INT_PTR CALLBACK DlgProfileNew(HWND hwndDlg, UINT msg, WPARAM wParam, LPA
if (makeDatabase(dat->pd->szProfile, dat->pd->dblink, hwndDlg) == 0) {
SetWindowLongPtr(hwndDlg, DWLP_MSGRESULT, PSNRET_INVALID_NOCHANGEPAGE);
- } } }
+ }
+ }
+ }
break;
}
@@ -292,7 +294,7 @@ void CheckProfile(HWND hwndList, int iItem, DlgProfData *dat)
{
if (iItem < 0)
return;
-
+
TCHAR profile[MAX_PATH], fullName[MAX_PATH];
LVITEM item = {0};
item.mask = LVIF_TEXT;
@@ -492,7 +494,7 @@ static INT_PTR CALLBACK DlgProfileSelect(HWND hwndDlg, UINT msg, WPARAM wParam,
CloseHandle(hFile);
if (hdr->code == NM_DBLCLK) EndDialog(GetParent(hwndDlg), 1);
}
- }
+ }
return TRUE;
case LVN_KEYDOWN:
@@ -502,7 +504,7 @@ static INT_PTR CALLBACK DlgProfileSelect(HWND hwndDlg, UINT msg, WPARAM wParam,
DeleteProfile(hwndList, ListView_GetNextItem(hwndList, -1, LVNI_SELECTED | LVNI_ALL), dat);
break;
}
- }
+ }
}
break;
}
@@ -605,7 +607,7 @@ static INT_PTR CALLBACK DlgProfileManager(HWND hwndDlg, UINT msg, WPARAM wParam,
return TRUE;
case PSM_FORCECHANGED:
- {
+ {
PSHNOTIFY pshn;
pshn.hdr.code = PSN_INFOCHANGED;
pshn.hdr.idFrom = 0;
@@ -674,7 +676,7 @@ static INT_PTR CALLBACK DlgProfileManager(HWND hwndDlg, UINT msg, WPARAM wParam,
for (int i=0; i < dat->pageCount; i++) {
if (dat->opd[i].hwnd == NULL || !dat->opd[i].changed)
continue;
-
+
pshn.hdr.hwndFrom = dat->opd[i].hwnd;
SendMessage(dat->opd[i].hwnd, WM_NOTIFY, 0, (LPARAM)&pshn);
}