summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-12-10 23:47:00 +0100
committerJan Holesovsky <kendy@collabora.com>2015-12-10 23:53:15 +0100
commit68111c6b8b3d827dba7b35e1b7c84d1bdddd47d6 (patch)
tree9ecad8c392789b3c45b06d9688504540edbad4d6
parent0c3d0311c16e9898b417b758f8b151c0ab10463e (diff)
tdf#96042: Oops, fix a typo.
This fixes a regression from commit 4c4999d944bbf8a34f8a320b8de6f4a325bd5d97. Change-Id: Ie8496392f4811cc1ff146d7a5c43988da0d539c2
-rw-r--r--helpcompiler/source/HelpCompiler.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpcompiler/source/HelpCompiler.cxx b/helpcompiler/source/HelpCompiler.cxx
index 6d821e452b1a..276394a6e0aa 100644
--- a/helpcompiler/source/HelpCompiler.cxx
+++ b/helpcompiler/source/HelpCompiler.cxx
@@ -334,7 +334,7 @@ void myparser::traverse( xmlNodePtr parentNode )
std::string hid;
- if (branch.compare(0, 3, "hid") != 0)
+ if (branch.compare(0, 3, "hid") == 0)
{
size_t index = branch.find('/');
if (index != std::string::npos)