Remove hard TABs in wxHTML introduced by recent commit

Reformat the code added in d96a25be12.

See https://github.com/wxWidgets/wxWidgets/pull/244
This commit is contained in:
Vadim Zeitlin
2016-03-17 22:11:30 +01:00
parent df101cab76
commit ce1cc2cea5

View File

@@ -229,10 +229,10 @@ bool HP_TagHandler::HandleTag(const wxHtmlTag& tag)
if (m_name.empty() && tag.GetParam(wxT("NAME")) == wxT("Name"))
m_name = tag.GetParam(wxT("VALUE"));
if (tag.GetParam(wxT("NAME")) == wxT("Local"))
{
m_page = tag.GetParam(wxT("VALUE"));
m_page.Replace("\\", "/");
}
{
m_page = tag.GetParam(wxT("VALUE"));
m_page.Replace("\\", "/");
}
if (tag.GetParam(wxT("NAME")) == wxT("ID"))
tag.GetParamAsInt(wxT("VALUE"), &m_id);
return false;
@@ -686,10 +686,10 @@ bool wxHtmlHelpData::AddBook(const wxString& book)
if (wxStrstr(linebuf, wxT("title=")) == linebuf)
title = linebuf + wxStrlen(wxT("title="));
if (wxStrstr(linebuf, wxT("default topic=")) == linebuf)
{
start = linebuf + wxStrlen(wxT("default topic="));
start.Replace("\\", "/");
}
{
start = linebuf + wxStrlen(wxT("default topic="));
start.Replace("\\", "/");
}
if (wxStrstr(linebuf, wxT("index file=")) == linebuf)
index = linebuf + wxStrlen(wxT("index file="));
if (wxStrstr(linebuf, wxT("contents file=")) == linebuf)