From bdbdf8d3391d2da3df0d4eeabac41fa73aa821fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Tue, 20 Oct 2015 10:13:30 +0000 Subject: Omegle: Format sources git-svn-id: http://svn.miranda-ng.org/main/trunk@15579 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Omegle/src/messages.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'protocols/Omegle/src/messages.cpp') diff --git a/protocols/Omegle/src/messages.cpp b/protocols/Omegle/src/messages.cpp index 666229ebfd..3981da3635 100644 --- a/protocols/Omegle/src/messages.cpp +++ b/protocols/Omegle/src/messages.cpp @@ -24,17 +24,17 @@ along with this program. If not, see . void OmegleProto::SendMsgWorker(void *p) { - if(p == NULL) + if (p == NULL) return; - - ScopedLock s( facy.send_message_lock_ ); + + ScopedLock s(facy.send_message_lock_); std::string data = *(std::string*)p; delete (std::string*)p; data = utils::text::trim(data); - if (facy.state_ == STATE_ACTIVE && data.length() && facy.send_message( data )) + if (facy.state_ == STATE_ACTIVE && data.length() && facy.send_message(data)) { TCHAR *msg = mir_a2t_cp(data.c_str(), CP_UTF8); UpdateChat(facy.nick_, msg); -- cgit v1.2.3