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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user