diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-24 16:34:01 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-24 16:34:01 +0000 |
commit | e7763f7f3b14afd60864b983a309e504d1ffc560 (patch) | |
tree | 7e95651f30ec4f6f582735c4b9043ca3c1e78114 /plugins/Scriver/msglog.cpp | |
parent | cff526fc610fe0166b59c25bcb7730b92b481480 (diff) |
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@605 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Scriver/msglog.cpp')
-rw-r--r-- | plugins/Scriver/msglog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/Scriver/msglog.cpp b/plugins/Scriver/msglog.cpp index ae04d5e11e..eaf139ce02 100644 --- a/plugins/Scriver/msglog.cpp +++ b/plugins/Scriver/msglog.cpp @@ -91,14 +91,14 @@ TCHAR *GetNickname(HANDLE hContact, const char* szProto) { ci.hContact = hContact;
ci.szProto = (char *)szProto;
ci.dwFlag = CNF_DISPLAY;
- if(IsUnicodeMIM()) {
+ if (IsUnicodeMIM()) {
ci.dwFlag |= CNF_UNICODE;
}
if (!CallService(MS_CONTACT_GETCONTACTINFO, 0, (LPARAM) & ci)) {
if (ci.type == CNFT_ASCIIZ) {
if (ci.pszVal) {
- if(IsUnicodeMIM()) {
+ if (IsUnicodeMIM()) {
if (!_tcscmp((TCHAR *)ci.pszVal, TranslateW(_T("'(Unknown Contact)'")))) {
ci.dwFlag &= ~CNF_UNICODE;
if (!CallService(MS_CONTACT_GETCONTACTINFO, 0, (LPARAM) & ci)) {
@@ -456,18 +456,18 @@ TCHAR *TimestampToString(DWORD dwFlags, time_t check, int mode) tm_today.tm_hour = tm_today.tm_min = tm_today.tm_sec = 0;
today = mktime(&tm_today);
- if(dwFlags & SMF_RELATIVEDATE && check >= today) {
+ if (dwFlags & SMF_RELATIVEDATE && check >= today) {
lstrcpy(szResult, TranslateT("Today"));
if (mode == 0) {
lstrcat(szResult, _T(","));
}
- } else if(dwFlags & SMF_RELATIVEDATE && check > (today - 86400)) {
+ } else if (dwFlags & SMF_RELATIVEDATE && check > (today - 86400)) {
lstrcpy(szResult, TranslateT("Yesterday"));
if (mode == 0) {
lstrcat(szResult, _T(","));
}
} else {
- if(dwFlags & SMF_LONGDATE)
+ if (dwFlags & SMF_LONGDATE)
lstrcpy(format, _T("D"));
else
lstrcpy(format, _T("d"));
|