diff options
author | Robert Pösel <robyer@seznam.cz> | 2012-09-10 07:43:23 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2012-09-10 07:43:23 +0000 |
commit | a2dd6635dbe650f5f475206345b9e0012e4e979a (patch) | |
tree | ab9144eaf97f1f667dbfa207e529fe5411963767 /protocols/FacebookRM | |
parent | e1b3b9a9235a7d9bd584a328322be9e2c92d177e (diff) |
Facebook: cosmetic.
git-svn-id: http://svn.miranda-ng.org/main/trunk@1557 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM')
-rw-r--r-- | protocols/FacebookRM/dialogs.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/FacebookRM/dialogs.cpp b/protocols/FacebookRM/dialogs.cpp index 9eb1b3b2d5..6cc76c4e0c 100644 --- a/protocols/FacebookRM/dialogs.cpp +++ b/protocols/FacebookRM/dialogs.cpp @@ -159,7 +159,8 @@ INT_PTR CALLBACK FBMindProc( HWND hwnd, UINT message, WPARAM wparam, LPARAM lpar ShowWindow(hwnd,SW_HIDE);
char *narrow = mir_utf8encodeT(mindMessage);
- if (proto->last_status_msg_ != narrow) proto->last_status_msg_ = narrow;
+ if (proto->last_status_msg_ != narrow)
+ proto->last_status_msg_ = narrow;
utils::mem::detract(narrow);
//char *narrow = mir_t2a_cp(mindMessage,CP_UTF8);
@@ -339,7 +340,7 @@ INT_PTR CALLBACK FBOptionsAdvancedProc( HWND hwnd, UINT message, WPARAM wparam, if (setStatus != setStatusOld)
{
DBWriteContactSettingByte(NULL, proto->m_szModuleName, FACEBOOK_KEY_SET_MIRANDA_STATUS, setStatus);
- if (setStatus && proto->isOnline() && DBGetContactSettingByte(NULL, proto->m_szModuleName, FACEBOOK_KEY_SET_MIRANDA_STATUS, DEFAULT_SET_MIRANDA_STATUS))
+ if (setStatus && proto->isOnline())
{
ForkThread(&FacebookProto::SetAwayMsgWorker, proto, NULL);
}
@@ -347,9 +348,8 @@ INT_PTR CALLBACK FBOptionsAdvancedProc( HWND hwnd, UINT message, WPARAM wparam, return TRUE;
}
- break;
-
- }
+
+ } break;
return FALSE;
}
|