diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-06-14 12:48:26 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-06-14 12:48:26 +0000 |
commit | 674b73e4b757bdb7ffd619b5e998e0989bd05232 (patch) | |
tree | bcbc0ed956e73fd4c39bbe22001a5cb95293972d /plugins/IEView/src/HistoryHTMLBuilder.cpp | |
parent | bce0eecaadc3714bdc91ad375bb0da7544de4657 (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/HistoryHTMLBuilder.cpp')
-rw-r--r-- | plugins/IEView/src/HistoryHTMLBuilder.cpp | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/plugins/IEView/src/HistoryHTMLBuilder.cpp b/plugins/IEView/src/HistoryHTMLBuilder.cpp index f7b08ae861..493531e2bc 100644 --- a/plugins/IEView/src/HistoryHTMLBuilder.cpp +++ b/plugins/IEView/src/HistoryHTMLBuilder.cpp @@ -62,7 +62,8 @@ static const char *dbSpanSettingNames[] = { "ProfileDate", "ContactDate",
};
-HistoryHTMLBuilder::HistoryHTMLBuilder() {
+HistoryHTMLBuilder::HistoryHTMLBuilder()
+{
setLastEventType(-1);
setLastEventTime(time(NULL));
startedTime = time(NULL);
@@ -78,7 +79,8 @@ bool HistoryHTMLBuilder::isDbEventShown(DBEVENTINFO * dbei) }
}
-char *HistoryHTMLBuilder::timestampToString(DWORD dwFlags, time_t check) {
+char *HistoryHTMLBuilder::timestampToString(DWORD dwFlags, time_t check)
+{
static char szResult[512];
char str[80];
DBTIMETOSTRING dbtts;
@@ -92,7 +94,8 @@ char *HistoryHTMLBuilder::timestampToString(DWORD dwFlags, time_t check) { return szResult;
}
-void HistoryHTMLBuilder::loadMsgDlgFont(const char *dbSetting, LOGFONTA * lf, COLORREF * colour, COLORREF * bkgColour) {
+void HistoryHTMLBuilder::loadMsgDlgFont(const char *dbSetting, LOGFONTA * lf, COLORREF * colour, COLORREF * bkgColour)
+{
char str[128];
int style;
DBVARIANT dbv;
@@ -134,15 +137,18 @@ void HistoryHTMLBuilder::loadMsgDlgFont(const char *dbSetting, LOGFONTA * lf, CO }
}
-const char *HistoryHTMLBuilder::getTemplateFilename(ProtocolSettings * protoSettings) {
+const char *HistoryHTMLBuilder::getTemplateFilename(ProtocolSettings * protoSettings)
+{
return protoSettings->getHistoryTemplateFilename();
}
-int HistoryHTMLBuilder::getFlags(ProtocolSettings * protoSettings) {
+int HistoryHTMLBuilder::getFlags(ProtocolSettings * protoSettings)
+{
return protoSettings->getHistoryFlags();
}
-void HistoryHTMLBuilder::buildHead(IEView *view, IEVIEWEVENT *event) {
+void HistoryHTMLBuilder::buildHead(IEView *view, IEVIEWEVENT *event)
+{
LOGFONTA lf;
int i;
COLORREF color, bkgColor;
@@ -286,7 +292,8 @@ void HistoryHTMLBuilder::appendEventNonTemplate(IEView *view, IEVIEWEVENT *event view->documentClose();
}
-void HistoryHTMLBuilder::appendEvent(IEView *view, IEVIEWEVENT *event) {
+void HistoryHTMLBuilder::appendEvent(IEView *view, IEVIEWEVENT *event)
+{
ProtocolSettings *protoSettings = getHistoryProtocolSettings(event->hContact);
if (protoSettings == NULL) {
return;
|