summaryrefslogtreecommitdiff
path: root/plugins/IEView/src/ScriverHTMLBuilder.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/ScriverHTMLBuilder.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/ScriverHTMLBuilder.cpp')
-rw-r--r--plugins/IEView/src/ScriverHTMLBuilder.cpp16
1 files changed, 10 insertions, 6 deletions
diff --git a/plugins/IEView/src/ScriverHTMLBuilder.cpp b/plugins/IEView/src/ScriverHTMLBuilder.cpp
index fd6293afbc..f1057dca36 100644
--- a/plugins/IEView/src/ScriverHTMLBuilder.cpp
+++ b/plugins/IEView/src/ScriverHTMLBuilder.cpp
@@ -61,7 +61,8 @@ static const char *classNames[] = {
".inputArea", ".notices"
};
-ScriverHTMLBuilder::ScriverHTMLBuilder() {
+ScriverHTMLBuilder::ScriverHTMLBuilder()
+{
setLastEventType(-1);
setLastEventTime(time(NULL));
startedTime = time(NULL);
@@ -81,7 +82,8 @@ bool ScriverHTMLBuilder::isDbEventShown(DBEVENTINFO * dbei)
}
}
-void ScriverHTMLBuilder::loadMsgDlgFont(int i, LOGFONTA * lf, COLORREF * colour) {
+void ScriverHTMLBuilder::loadMsgDlgFont(int i, LOGFONTA * lf, COLORREF * colour)
+{
char str[32];
int style;
DBVARIANT dbv;
@@ -118,7 +120,8 @@ void ScriverHTMLBuilder::loadMsgDlgFont(int i, LOGFONTA * lf, COLORREF * colour)
}
}
-char *ScriverHTMLBuilder::timestampToString(DWORD dwFlags, time_t check, int mode) {
+char *ScriverHTMLBuilder::timestampToString(DWORD dwFlags, time_t check, int mode)
+{
static char szResult[512];
char str[80];
char format[20];
@@ -173,8 +176,8 @@ char *ScriverHTMLBuilder::timestampToString(DWORD dwFlags, time_t check, int mod
return szResult;
}
-
-void ScriverHTMLBuilder::buildHead(IEView *view, IEVIEWEVENT *event) {
+void ScriverHTMLBuilder::buildHead(IEView *view, IEVIEWEVENT *event)
+{
LOGFONTA lf;
COLORREF color;
char *output = NULL;
@@ -263,7 +266,8 @@ void ScriverHTMLBuilder::buildHead(IEView *view, IEVIEWEVENT *event) {
setLastEventType(-1);
}
-void ScriverHTMLBuilder::appendEventNonTemplate(IEView *view, IEVIEWEVENT *event) {
+void ScriverHTMLBuilder::appendEventNonTemplate(IEView *view, IEVIEWEVENT *event)
+{
bool showColon;
DWORD dwFlags = db_get_b(NULL, SRMMMOD, SRMSGSET_SHOWTIME, 0) ? SMF_LOG_SHOWTIME : 0;
dwFlags |= !db_get_b(NULL, SRMMMOD, SRMSGSET_HIDENAMES, 0) ? SMF_LOG_SHOWNICK : 0;