diff options
author | George Hazan <george.hazan@gmail.com> | 2015-03-29 16:32:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-03-29 16:32:18 +0000 |
commit | 9ba27ccad75fe432f79c28f8beb7fb5a7355026b (patch) | |
tree | 20848e1e8fb6119f0229ec63d572dda511183bd8 /protocols | |
parent | 7244abb3e9c0a4cbfbf688643b7016a0ff0e24b1 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@12543 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/IRCG/src/commandmonitor.cpp | 2 | ||||
-rw-r--r-- | protocols/IRCG/src/input.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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];
|