summaryrefslogtreecommitdiff
path: root/plugins/IEView/src/MUCCHTMLBuilder.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-06-14 12:48:26 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-06-14 12:48:26 +0000
commit674b73e4b757bdb7ffd619b5e998e0989bd05232 (patch)
treebcbc0ed956e73fd4c39bbe22001a5cb95293972d /plugins/IEView/src/MUCCHTMLBuilder.cpp
parentbce0eecaadc3714bdc91ad375bb0da7544de4657 (diff)
fixed smiles and link not showing
git-svn-id: http://svn.miranda-ng.org/main/trunk@9467 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/IEView/src/MUCCHTMLBuilder.cpp')
-rw-r--r--plugins/IEView/src/MUCCHTMLBuilder.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/plugins/IEView/src/MUCCHTMLBuilder.cpp b/plugins/IEView/src/MUCCHTMLBuilder.cpp
index ecfd10b7f2..d3e910663e 100644
--- a/plugins/IEView/src/MUCCHTMLBuilder.cpp
+++ b/plugins/IEView/src/MUCCHTMLBuilder.cpp
@@ -34,12 +34,14 @@ static const char *classNames[] = {
".error"
};
-MUCCHTMLBuilder::MUCCHTMLBuilder() {
+MUCCHTMLBuilder::MUCCHTMLBuilder()
+{
setLastEventType(-1);
setLastEventTime(time(NULL));
}
-void MUCCHTMLBuilder::loadMsgDlgFont(int i, LOGFONTA * lf, COLORREF * colour) {
+void MUCCHTMLBuilder::loadMsgDlgFont(int i, LOGFONTA * lf, COLORREF * colour)
+{
char str[32];
int style;
DBVARIANT dbv;
@@ -113,7 +115,8 @@ char *MUCCHTMLBuilder::timestampToString(DWORD dwData, time_t check)
return szResult;
}
-void MUCCHTMLBuilder::buildHead(IEView *view, IEVIEWEVENT *event) {
+void MUCCHTMLBuilder::buildHead(IEView *view, IEVIEWEVENT *event)
+{
LOGFONTA lf;
COLORREF color;
char *output = NULL;
@@ -180,8 +183,8 @@ void MUCCHTMLBuilder::buildHead(IEView *view, IEVIEWEVENT *event) {
setLastEventType(-1);
}
-void MUCCHTMLBuilder::appendEventNonTemplate(IEView *view, IEVIEWEVENT *event) {
-
+void MUCCHTMLBuilder::appendEventNonTemplate(IEView *view, IEVIEWEVENT *event)
+{
IEVIEWEVENTDATA* eventData = event->eventData;
for (int eventIdx = 0; eventData!=NULL && (eventIdx < event->count || event->count==-1); eventData = eventData->next, eventIdx++) {
DWORD dwData = eventData->dwData;