diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-19 16:51:56 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-19 16:51:56 +0000 |
commit | d67f238b33aa9fae3e877dc579ac9260323219fe (patch) | |
tree | d2d43e3440ed9e43b591ccc4d0692c5be709e118 /src/core | |
parent | c0658da7ca3d7edaedc92672788765504f3043e5 (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.cpp | 8 |
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;
|