From 87f67fdfb3935d19d550ee98566238ded8481e94 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 5 Oct 2015 14:16:23 +0000 Subject: fix for an url processing git-svn-id: http://svn.miranda-ng.org/main/trunk@15512 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/msglog.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/TabSRMM/src/msglog.cpp') diff --git a/plugins/TabSRMM/src/msglog.cpp b/plugins/TabSRMM/src/msglog.cpp index c7fceb93a2..9e5c21c505 100644 --- a/plugins/TabSRMM/src/msglog.cpp +++ b/plugins/TabSRMM/src/msglog.cpp @@ -920,19 +920,19 @@ static char* Template_CreateRTFFromDbEvent(TWindowData *dat, MCONTACT hContact, str.AppendFormat("\\cf%d ", MSGDLGFONTCOUNT + 8 + (color - '0')); i++; } - else if (color == (TCHAR)'d') { + else if (color == 'd') { str.AppendFormat("\\cf%d ", iFontIDOffset + (isSent ? MSGFONTID_MYTIME : MSGFONTID_YOURTIME)); i++; } - else if (color == (TCHAR)'m') { + else if (color == 'm') { str.AppendFormat("\\cf%d ", iFontIDOffset + (isSent ? MSGFONTID_MYMSG : MSGFONTID_YOURMSG)); i++; } - else if (color == (TCHAR)'n') { + else if (color == 'n') { str.AppendFormat("\\cf%d ", iFontIDOffset + (isSent ? MSGFONTID_MYNAME : MSGFONTID_YOURNAME)); i++; } - else if (color == (TCHAR)'s') { + else if (color == 's') { str.AppendFormat("\\cf%d ", isSent ? MSGFONTID_SYMBOLS_OUT : MSGFONTID_SYMBOLS_IN); i++; } @@ -1002,7 +1002,7 @@ static DWORD CALLBACK LogStreamInEvents(DWORD_PTR dwCookie, LPBYTE pbBuff, LONG } dat->stage = STREAMSTAGE_TAIL; - //fall through + // fall through case STREAMSTAGE_TAIL: mir_free(dat->buffer); dat->buffer = CreateRTFTail(); -- cgit v1.2.3