summaryrefslogtreecommitdiff
path: root/plugins/BasicHistory/src/PlainHtmlExport.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-09-22 13:55:39 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-09-22 13:55:39 +0000
commit1dad958015778d3486838bf3c93fff1793aa5406 (patch)
tree16ddb8957ac62d3ccb20cf070f0bdace203072d2 /plugins/BasicHistory/src/PlainHtmlExport.cpp
parentd1963a84cf69f801100367871744a4e1092d2bbc (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@6182 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/BasicHistory/src/PlainHtmlExport.cpp')
-rw-r--r--plugins/BasicHistory/src/PlainHtmlExport.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/BasicHistory/src/PlainHtmlExport.cpp b/plugins/BasicHistory/src/PlainHtmlExport.cpp
index ca0e110822..695b48d78a 100644
--- a/plugins/BasicHistory/src/PlainHtmlExport.cpp
+++ b/plugins/BasicHistory/src/PlainHtmlExport.cpp
@@ -52,7 +52,7 @@ void PlainHtmlExport::WriteHeader(const std::wstring &fileName, const std::wstri
EXP_FILE << _T(".mes#session { background-color: #FFFDD7; }\n");
EXP_FILE << _T("--></style>\n</head><body>\n<h4>") << TranslateT("History Log") << _T("</h4>\n<h3>");
EXP_FILE << MakeTextHtmled(myName);
- if(proto1.length() || myId.length())
+ if (proto1.length() || myId.length())
{
EXP_FILE << _T(" (") << MakeTextHtmled(proto1) << _T(": ") << MakeTextHtmled(myId) << _T(") - ");
}
@@ -62,7 +62,7 @@ void PlainHtmlExport::WriteHeader(const std::wstring &fileName, const std::wstri
}
EXP_FILE << MakeTextHtmled(name1);
- if(proto1.length() || id1.length())
+ if (proto1.length() || id1.length())
{
EXP_FILE << _T(" (") << MakeTextHtmled(proto1) << _T(": ") << MakeTextHtmled(id1) << _T(")</h3>\n");
}
@@ -94,7 +94,7 @@ void PlainHtmlExport::WriteMessage(bool isMe, const std::wstring &longDate, cons
TCHAR* ev = (isMe ? _T("1") : _T("0"));
bool isUrl = false;
std::wstring& mes = UrlHighlightHtml(MakeTextHtmled(message), isUrl);
- if(isUrl)
+ if (isUrl)
ev = _T("2");
EXP_FILE << _T("<div class=mes id=event") << ev << _T(">\n");
EXP_FILE << _T("<div class=nick id=") << id << _T(">") << MakeTextHtmled(user) << _T(":</div>\n");