diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-21 13:37:19 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-21 13:37:19 +0000 |
commit | 8b6824e3ec3ed7340db33bcbe592321b6afb0a00 (patch) | |
tree | 3c23f231d3126e85798f602be4b89c347d9ca36d /plugins/IEView/src/TabSRMMHTMLBuilder.cpp | |
parent | 0bb0ce1ac12784d4d119619dc6915666f590946d (diff) |
- warning fixes;
- memleak fixes;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@6154 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEView/src/TabSRMMHTMLBuilder.cpp')
-rw-r--r-- | plugins/IEView/src/TabSRMMHTMLBuilder.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/IEView/src/TabSRMMHTMLBuilder.cpp b/plugins/IEView/src/TabSRMMHTMLBuilder.cpp index 41bd1680b9..bbdbd497c9 100644 --- a/plugins/IEView/src/TabSRMMHTMLBuilder.cpp +++ b/plugins/IEView/src/TabSRMMHTMLBuilder.cpp @@ -315,9 +315,9 @@ void TabSRMMHTMLBuilder::appendEventNonTemplate(IEView *view, IEVIEWEVENT *event int outputSize;
char *output = NULL;
if (eventData->iType == IEED_EVENT_MESSAGE || eventData->iType == IEED_EVENT_FILE || eventData->iType == IEED_EVENT_URL || eventData->iType == IEED_EVENT_STATUSCHANGE) {
- int isGroupBreak = TRUE;
- int isSent = (eventData->dwFlags & IEEDF_SENT);
- int isRTL = eventData->dwFlags & IEEDF_RTL;
+ bool isGroupBreak = true;
+ bool isSent = (eventData->dwFlags & IEEDF_SENT) != 0;
+ bool isRTL = (eventData->dwFlags & IEEDF_RTL) != 0;
int isHistory = (eventData->time < (DWORD)getStartedTime() && (eventData->dwFlags & IEEDF_READ || eventData->dwFlags & IEEDF_SENT));
if (dwFlags & MWF_LOG_GROUPMODE && eventData->dwFlags == LOWORD(getLastEventType()) &&
eventData->iType == IEED_EVENT_MESSAGE && HIWORD(getLastEventType()) == IEED_EVENT_MESSAGE &&
|