summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-19 16:51:56 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-19 16:51:56 +0000
commitd67f238b33aa9fae3e877dc579ac9260323219fe (patch)
treed2d43e3440ed9e43b591ccc4d0692c5be709e118 /src/core
parentc0658da7ca3d7edaedc92672788765504f3043e5 (diff)
fix for printing %c0 in StdChat
git-svn-id: http://svn.miranda-ng.org/main/trunk@8663 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core')
-rw-r--r--src/core/stdchat/src/message.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/stdchat/src/message.cpp b/src/core/stdchat/src/message.cpp
index 0d88ce47f5..bcd066e4a9 100644
--- a/src/core/stdchat/src/message.cpp
+++ b/src/core/stdchat/src/message.cpp
@@ -120,8 +120,8 @@ TCHAR* DoRtfToTags(char* pszText, SESSION_INFO *si)
iInd = RTFColorToIndex(pIndex, iCol, si);
bJustRemovedRTF = TRUE;
- if (bTextHasStarted || iInd >= 0)
- mir_snprintf(InsertThis, SIZEOF(InsertThis), (iInd >= 0) ? "%%c%02u" : "%%C", iInd);
+// if (bTextHasStarted || iInd >= 0)
+// mir_snprintf(InsertThis, SIZEOF(InsertThis), (iInd >= 0) ? "%%c%02u" : "%%C", iInd);
}
else if (!memcmp(p1, "\\highlight", 10)) { //background color
int iCol, iInd;
@@ -129,8 +129,8 @@ TCHAR* DoRtfToTags(char* pszText, SESSION_INFO *si)
iInd = RTFColorToIndex(pIndex, iCol, si);
bJustRemovedRTF = TRUE;
- if (bTextHasStarted || iInd >= 0)
- mir_snprintf(InsertThis, SIZEOF(InsertThis), (iInd >= 0) ? "%%f%02u" : "%%F", iInd);
+// if (bTextHasStarted || iInd >= 0)
+// mir_snprintf(InsertThis, SIZEOF(InsertThis), (iInd >= 0) ? "%%f%02u" : "%%F", iInd);
}
else if (!memcmp(p1, "\\lang", 5)) { // language id
bTextHasStarted = bJustRemovedRTF = TRUE;