summaryrefslogtreecommitdiff
path: root/protocols/Omegle/src/messages.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2015-10-20 10:13:30 +0000
committerRobert Pösel <robyer@seznam.cz>2015-10-20 10:13:30 +0000
commitbdbdf8d3391d2da3df0d4eeabac41fa73aa821fa (patch)
tree366121a22bc6eef039eacb0aafff85c03e4dd605 /protocols/Omegle/src/messages.cpp
parentd49489f3467a02953b77cd5869bec5c061b63aa1 (diff)
Omegle: Format sources
git-svn-id: http://svn.miranda-ng.org/main/trunk@15579 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Omegle/src/messages.cpp')
-rw-r--r--protocols/Omegle/src/messages.cpp8
1 files changed, 4 insertions, 4 deletions
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 <http://www.gnu.org/licenses/>.
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);