From fa74ac417db68e7788e46290743ff77e539903de Mon Sep 17 00:00:00 2001 From: Lyonel Vincent Date: Sat, 14 Feb 2015 10:28:25 +0000 Subject: [PATCH 1/1] proper fix for #676 git-svn-id: http://ezix.org/source/packages/lshw/development@2573 811e2811-9fd9-0310-a116-b6e8ac943c8b --- src/core/hw.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hw.cc b/src/core/hw.cc index 4465c19..e2559ff 100644 --- a/src/core/hw.cc +++ b/src/core/hw.cc @@ -622,7 +622,7 @@ hwNode *hwNode::getChild(const string & id) } for (unsigned int i = 0; i < This->children.size(); i++) - if (This->children[i].getId() == baseid) + if (This->children[i].getId() == cleanupId(baseid)) { if (path == "") return &(This->children[i]); -- 2.4.3