summaryrefslogtreecommitdiff
path: root/src/modules/chat/log.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-19 08:32:55 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-19 08:32:55 +0000
commit529c7d557a7dc8693c68c0fb66275e9fe999c0d2 (patch)
tree910856bbad72b1d6ef5b978231deaf712b5713aa /src/modules/chat/log.cpp
parent9c194061aa46f713290fe6b7598a4462711ebe54 (diff)
- StdChat-related data removed from core;
- fix for displaying icons in chat log; git-svn-id: http://svn.miranda-ng.org/main/trunk@7743 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/chat/log.cpp')
-rw-r--r--src/modules/chat/log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/chat/log.cpp b/src/modules/chat/log.cpp
index 18a95b518b..01e2c2c1ef 100644
--- a/src/modules/chat/log.cpp
+++ b/src/modules/chat/log.cpp
@@ -346,7 +346,7 @@ char* Log_CreateRTF(LOGSTREAMDATA *streamData)
Log_Append(&buffer, &bufferEnd, &bufferAlloced, "\\par%s ", Log_SetStyle(0, 0));
// Insert icon
- if (lin->iType & g_Settings->dwIconFlags || lin->bIsHighlighted&&g_Settings->dwIconFlags & GC_EVENT_HIGHLIGHT) {
+ if ((lin->iType & g_Settings->dwIconFlags) || lin->bIsHighlighted && (g_Settings->dwIconFlags & GC_EVENT_HIGHLIGHT)) {
int iIndex = (lin->bIsHighlighted && g_Settings->dwIconFlags & GC_EVENT_HIGHLIGHT) ? ICON_HIGHLIGHT : EventToIcon(lin);
Log_Append(&buffer, &bufferEnd, &bufferAlloced, "\\f0\\fs14");
while (bufferAlloced - bufferEnd < logIconBmpSize[0])