summaryrefslogtreecommitdiff
path: root/plugins/IEView/src/HTMLBuilder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IEView/src/HTMLBuilder.cpp')
-rw-r--r--plugins/IEView/src/HTMLBuilder.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/IEView/src/HTMLBuilder.cpp b/plugins/IEView/src/HTMLBuilder.cpp
index 9480e4c420..28faa76b1f 100644
--- a/plugins/IEView/src/HTMLBuilder.cpp
+++ b/plugins/IEView/src/HTMLBuilder.cpp
@@ -487,9 +487,10 @@ void HTMLBuilder::setLastIEViewEvent(IEVIEWEVENT *event)
void HTMLBuilder::clear(IEView *view, IEVIEWEVENT *event)
{
- if (event != NULL)
+ if (event != NULL) {
setLastIEViewEvent(event);
- if (lastIEViewEvent.pszProto != NULL || event->hContact == NULL)
- buildHead(view, &lastIEViewEvent);
+ if (lastIEViewEvent.pszProto != NULL || event->hContact == NULL)
+ buildHead(view, &lastIEViewEvent);
+ }
}