diff options
author | George Hazan <george.hazan@gmail.com> | 2015-10-05 14:16:23 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-10-05 14:16:23 +0000 |
commit | 87f67fdfb3935d19d550ee98566238ded8481e94 (patch) | |
tree | eac51034a594247e62201f84375896d21c0b7b67 /plugins | |
parent | 734cb6e17d432a0280175568c9365e3e69428182 (diff) |
fix for an url processing
git-svn-id: http://svn.miranda-ng.org/main/trunk@15512 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/TabSRMM/src/msglog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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();
|