diff options
author | George Hazan <ghazan@miranda.im> | 2019-02-25 23:47:56 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-02-25 23:47:56 +0300 |
commit | ea88e2c53d3ac0840955eb703213ca1430bb4361 (patch) | |
tree | 658c2290a12888922c9729a623d5d34e750bd626 /protocols/IRCG | |
parent | 45bf5f51cc788cb8f19e1b8fcd5b8818dc7a2e00 (diff) |
PROTORECVFILE now uses const char/wchar_t pointers. also fixes #1864 completely
Diffstat (limited to 'protocols/IRCG')
-rw-r--r-- | protocols/IRCG/src/commandmonitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/IRCG/src/commandmonitor.cpp b/protocols/IRCG/src/commandmonitor.cpp index d1b42d6434..67a6092e90 100644 --- a/protocols/IRCG/src/commandmonitor.cpp +++ b/protocols/IRCG/src/commandmonitor.cpp @@ -1159,7 +1159,7 @@ bool CIrcProto::IsCTCP(const CIrcMessage *pmsg) setWString(hContact, "User", pmsg->prefix.sUser);
setWString(hContact, "Host", pmsg->prefix.sHost);
- wchar_t* tszTemp = sFile.GetBuffer();
+ const wchar_t* tszTemp = sFile;
PROTORECVFILE pre = { 0 };
pre.dwFlags = PRFF_UNICODE;
|