summaryrefslogtreecommitdiff
path: root/plugins/Db_autobackups/options.c
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/Db_autobackups/options.c
parentce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff)
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db_autobackups/options.c')
-rw-r--r--plugins/Db_autobackups/options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Db_autobackups/options.c b/plugins/Db_autobackups/options.c
index 51baa1b687..acb6072718 100644
--- a/plugins/Db_autobackups/options.c
+++ b/plugins/Db_autobackups/options.c
@@ -12,9 +12,9 @@ int LoadOptions(void) {
options.period = (unsigned int)DBGetContactSettingWord(0, "AutoBackups", "Period", 1);
options.period_type = (PeriodType)DBGetContactSettingByte(0, "AutoBackups", "PeriodType", (BYTE)PT_DAYS);
- if(!ServiceExists(MS_FOLDERS_GET_PATH)) {
+ if (!ServiceExists(MS_FOLDERS_GET_PATH)) {
- if(!DBGetContactSettingTString(0, "AutoBackups", "Folder", &dbv)) {
+ if (!DBGetContactSettingTString(0, "AutoBackups", "Folder", &dbv)) {
tmp = Utils_ReplaceVarsT(dbv.ptszVal);
if(_tcslen(tmp) >= 2 && tmp[1] == ':')
@@ -244,7 +244,7 @@ INT_PTR CALLBACK DlgProcOptions(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
bi.lParam = 0;
bi.iImage = 0;
- if((pidl = SHBrowseForFolder(&bi)) != 0) {
+ if ((pidl = SHBrowseForFolder(&bi)) != 0) {
SHGetPathFromIDList(pidl, folder_buff);
SetDlgItemText(hwndDlg, IDC_ED_FOLDER, folder_buff);