From 78c0815c4118fe24ab78cce2dc48a6232dcd824a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 2 Jun 2012 20:55:18 +0000 Subject: - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Omegle/chat.cpp | 2 +- protocols/Omegle/dialogs.cpp | 2 +- protocols/Omegle/proto.cpp | 4 ++-- protocols/Omegle/theme.cpp | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'protocols/Omegle') diff --git a/protocols/Omegle/chat.cpp b/protocols/Omegle/chat.cpp index 169877b9fb..b69a41bf50 100644 --- a/protocols/Omegle/chat.cpp +++ b/protocols/Omegle/chat.cpp @@ -307,7 +307,7 @@ int OmegleProto::OnJoinChat(WPARAM,LPARAM suppress) SetTopic(); // Note: Initialization will finish up in SetChatStatus, called separately - if(!suppress) + if (!suppress) SetChatStatus(m_iStatus); return 0; diff --git a/protocols/Omegle/dialogs.cpp b/protocols/Omegle/dialogs.cpp index e6a05d688e..21aadb34a8 100644 --- a/protocols/Omegle/dialogs.cpp +++ b/protocols/Omegle/dialogs.cpp @@ -39,7 +39,7 @@ static BOOL StoreDBCheckState(OmegleProto* ppro, HWND hwnd, int idCtrl, const ch static void LoadDBText(OmegleProto* ppro, HWND hwnd, int idCtrl, const char* szSetting) { DBVARIANT dbv; - if( !DBGetContactSettingTString(NULL, ppro->m_szModuleName, szSetting, &dbv) ) + if ( !DBGetContactSettingTString(NULL, ppro->m_szModuleName, szSetting, &dbv) ) { SetDlgItemText(hwnd, idCtrl, dbv.ptszVal); DBFreeVariant(&dbv); diff --git a/protocols/Omegle/proto.cpp b/protocols/Omegle/proto.cpp index 7fd27e65c6..e6d2324aa3 100644 --- a/protocols/Omegle/proto.cpp +++ b/protocols/Omegle/proto.cpp @@ -243,9 +243,9 @@ int OmegleProto::OnContactDeleted(WPARAM wparam,LPARAM) const char *proto = reinterpret_cast( CallService(MS_PROTO_GETCONTACTBASEPROTO, reinterpret_cast(hContact),0) ); - if( proto && strcmp(m_szModuleName,proto) == 0 ) + if ( proto && strcmp(m_szModuleName,proto) == 0 ) { - if( include_chat ) + if ( include_chat ) return true; else return DBGetContactSettingByte(hContact,m_szModuleName,"ChatRoom",0) == 0; diff --git a/protocols/Omegle/theme.cpp b/protocols/Omegle/theme.cpp index ea1cf9cf16..740d16277e 100644 --- a/protocols/Omegle/theme.cpp +++ b/protocols/Omegle/theme.cpp @@ -96,11 +96,11 @@ static OmegleProto * GetInstanceByHContact(HANDLE hContact) { char *proto = reinterpret_cast( CallService(MS_PROTO_GETCONTACTBASEPROTO, reinterpret_cast(hContact),0) ); - if(!proto) + if (!proto) return 0; for(int i=0; i