patch 1073385
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -155,7 +155,9 @@ void TestApp::List(Test *test, const string& parent /*=""*/) const
|
||||
// take the last component of the name and append to the parent
|
||||
name = test->getName();
|
||||
string::size_type i = name.find_last_of(".:");
|
||||
name = parent + "." + (i != string::npos ? name.substr(i + 1) : name);
|
||||
if (i != string::npos)
|
||||
name = name.substr(i + 1);
|
||||
name = parent + "." + name;
|
||||
|
||||
// drop the 1st component from the display and indent
|
||||
if (parent != "") {
|
||||
|
Reference in New Issue
Block a user