summaryrefslogtreecommitdiff
path: root/protocols/IRCG/src/output.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-04-29 21:07:07 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-04-29 21:07:07 +0000
commit2617e958bd0059dc3c0971b01de9c0059c1e1692 (patch)
treec6f03cbcd7b95503d3fe7608e492afd61d33764d /protocols/IRCG/src/output.cpp
parentb4b636802237461d78dd0b8d33d5bedfd72a1025 (diff)
unified project for IRC protocol
git-svn-id: http://svn.miranda-ng.org/main/trunk@13257 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IRCG/src/output.cpp')
-rw-r--r--protocols/IRCG/src/output.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/IRCG/src/output.cpp b/protocols/IRCG/src/output.cpp
index 016918f612..94eae7e12d 100644
--- a/protocols/IRCG/src/output.cpp
+++ b/protocols/IRCG/src/output.cpp
@@ -19,7 +19,7 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
-#include "irc.h"
+#include "stdafx.h"
static CMString FormatOutput(const CIrcMessage* pmsg)
{
@@ -50,7 +50,7 @@ static CMString FormatOutput(const CIrcMessage* pmsg)
goto THE_END;
}
- int index = StrToInt(pmsg->sCommand.c_str());
+ int index = _ttoi(pmsg->sCommand.c_str());
if (index == 301 && pmsg->parameters.getCount() > 0) {
TCHAR temp[500]; *temp = '\0';
mir_sntprintf(temp, SIZEOF(temp), TranslateT("%s is away"), pmsg->parameters[1].c_str());
@@ -136,7 +136,7 @@ BOOL CIrcProto::ShowMessage(const CIrcMessage* pmsg)
if (!pmsg->m_bIncoming)
mess.Replace(_T("%%"), _T("%"));
- int iTemp = StrToInt(pmsg->sCommand.c_str());
+ int iTemp = _ttoi(pmsg->sCommand.c_str());
//To active window
if ((iTemp > 400 || iTemp < 500) && pmsg->sCommand[0] == '4' //all error messages