From 9ba27ccad75fe432f79c28f8beb7fb5a7355026b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 29 Mar 2015 16:32:18 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@12543 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/IRCG/src/commandmonitor.cpp | 2 +- protocols/IRCG/src/input.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols') diff --git a/protocols/IRCG/src/commandmonitor.cpp b/protocols/IRCG/src/commandmonitor.cpp index 6de7c3984b..eab057eac1 100644 --- a/protocols/IRCG/src/commandmonitor.cpp +++ b/protocols/IRCG/src/commandmonitor.cpp @@ -2159,7 +2159,7 @@ bool CIrcProto::OnIrc_USERHOST_REPLY(const CIrcMessage* pmsg) // Post message if (!mess.IsEmpty()) - PostIrcMessageWnd(NULL, NULL, mess.c_str()); + PostIrcMessageWnd(NULL, NULL, mess); } // Status-check post-processing: make buddies in ckeck-list offline diff --git a/protocols/IRCG/src/input.cpp b/protocols/IRCG/src/input.cpp index 23ee8d4b55..58718df3cc 100644 --- a/protocols/IRCG/src/input.cpp +++ b/protocols/IRCG/src/input.cpp @@ -805,7 +805,7 @@ bool CIrcProto::PostIrcMessage(const TCHAR* fmt, ...) return PostIrcMessageWnd(NULL, NULL, szBuf); } -bool CIrcProto::PostIrcMessageWnd(TCHAR* window, MCONTACT hContact, const TCHAR* szBuf) +bool CIrcProto::PostIrcMessageWnd(TCHAR *window, MCONTACT hContact, const TCHAR *szBuf) { DBVARIANT dbv; TCHAR windowname[256]; -- cgit v1.2.3