diff options
Diffstat (limited to 'protocols/MRA/src/MraRTFMsg.cpp')
-rw-r--r-- | protocols/MRA/src/MraRTFMsg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MRA/src/MraRTFMsg.cpp b/protocols/MRA/src/MraRTFMsg.cpp index 373d77b19d..5cec2d80a6 100644 --- a/protocols/MRA/src/MraRTFMsg.cpp +++ b/protocols/MRA/src/MraRTFMsg.cpp @@ -166,7 +166,7 @@ DWORD MraSymbolsToRTFTags(LPSTR lpszMessage, size_t dwMessageSize, LPSTR lpszMes for (i = 0;i<SYMBOLS_COUNT;i++) { // looking for the next time
if (lpszFounded[i] && lpszFounded[i] < lpszMessageCurPrev) {
- dwFoundCount--;// , : "):-(" ":-("
+ dwFoundCount--;// вычитаем тут, чтобы учесть схожие смайлы: "):-(" и ":-("
lpszFounded[i] = (LPSTR)MemoryFind((lpszMessageCurPrev-lpszMessage), lpszMessage, dwMessageSize, lpszSimbols[i], dwcSimbolsCount[i]);
if (lpszFounded[i]) dwFoundCount++;
}
|