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/ScriverHTMLBuilder.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/ScriverHTMLBuilder.cpp')
-rw-r--r-- | plugins/IEView/src/ScriverHTMLBuilder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/IEView/src/ScriverHTMLBuilder.cpp b/plugins/IEView/src/ScriverHTMLBuilder.cpp index 6aa5f904e9..25b96f76f7 100644 --- a/plugins/IEView/src/ScriverHTMLBuilder.cpp +++ b/plugins/IEView/src/ScriverHTMLBuilder.cpp @@ -287,8 +287,8 @@ void ScriverHTMLBuilder::appendEventNonTemplate(IEView *view, IEVIEWEVENT *event int outputSize;
char *output;
output = NULL;
- int isSent = eventData->dwFlags & IEEDF_SENT;
- int isRTL = eventData->dwFlags & IEEDF_RTL;
+ bool isSent = (eventData->dwFlags & IEEDF_SENT) != 0;
+ bool isRTL = (eventData->dwFlags & IEEDF_RTL) != 0;
showColon = false;
if (eventData->iType == IEED_EVENT_MESSAGE || eventData->iType == IEED_EVENT_STATUSCHANGE ||
eventData->iType == IEED_EVENT_URL || eventData->iType == IEED_EVENT_FILE)
|