From ce1cc2cea5f7492d76c112598c3e696b4a6e4782 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 17 Mar 2016 22:11:30 +0100 Subject: [PATCH] Remove hard TABs in wxHTML introduced by recent commit Reformat the code added in d96a25be1230b91f3431bfc3b85b4e1f55bf62e6. See https://github.com/wxWidgets/wxWidgets/pull/244 --- src/html/helpdata.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/html/helpdata.cpp b/src/html/helpdata.cpp index cc3024883e..d257bec45e 100644 --- a/src/html/helpdata.cpp +++ b/src/html/helpdata.cpp @@ -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)