summaryrefslogtreecommitdiff
path: root/src/modules/srauth
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/srauth')
-rw-r--r--src/modules/srauth/auth.cpp2
-rw-r--r--src/modules/srauth/authdialogs.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/srauth/auth.cpp b/src/modules/srauth/auth.cpp
index 44fca593c4..d0fbe24de5 100644
--- a/src/modules/srauth/auth.cpp
+++ b/src/modules/srauth/auth.cpp
@@ -74,7 +74,7 @@ static int AuthEventAdded(WPARAM, LPARAM lParam)
ci.hContact = hContact;
ci.szProto = (char *)CallService(MS_PROTO_GETCONTACTBASEPROTO, (WPARAM)hContact, 0);
ci.dwFlag = CNF_UNIQUEID | CNF_TCHAR;
- if (!CallService(MS_CONTACT_GETCONTACTINFO, 0, (LPARAM)&ci))
+ if ( !CallService(MS_CONTACT_GETCONTACTINFO, 0, (LPARAM)&ci))
{
switch (ci.type)
{
diff --git a/src/modules/srauth/authdialogs.cpp b/src/modules/srauth/authdialogs.cpp
index 8d3e90a836..b5693e01dd 100644
--- a/src/modules/srauth/authdialogs.cpp
+++ b/src/modules/srauth/authdialogs.cpp
@@ -77,7 +77,7 @@ INT_PTR CALLBACK DlgProcAdded(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPar
else
mir_sntprintf(name, SIZEOF(name), _T("%s"), nickT);
}
- if (!name[0])
+ if ( !name[0])
_tcscpy(name, TranslateT("<Unknown>"));
TCHAR hdr[256];
@@ -210,7 +210,7 @@ INT_PTR CALLBACK DlgProcAuthReq(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
else
mir_sntprintf(name, SIZEOF(name), _T("%s"), nickT);
}
- if (!name[0])
+ if ( !name[0])
_tcscpy(name, TranslateT("<Unknown>"));
TCHAR hdr[256];
@@ -239,7 +239,7 @@ INT_PTR CALLBACK DlgProcAuthReq(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
EnableWindow(GetDlgItem(hwndDlg, IDC_DENYREASON), FALSE);
SetDlgItemText(hwndDlg, IDC_DENYREASON, TranslateT("Feature is not supported by protocol"));
}
- if (!DBGetContactSettingByte(hContact, "CList", "NotOnList", 0))
+ if ( !DBGetContactSettingByte(hContact, "CList", "NotOnList", 0))
{
EnableWindow(GetDlgItem(hwndDlg, IDC_ADDCHECK), FALSE);
CheckDlgButton(hwndDlg, IDC_ADDCHECK, BST_UNCHECKED);