Fixed a too agressive celanup of patch from issue 466. Now printAll is working fine again.

This commit is contained in:
natureh 510
2013-11-02 18:07:59 +01:00
parent 680debe6af
commit 207b3df9e7

View File

@@ -167,6 +167,7 @@ void TagDirectory::printAll (unsigned int level) const {
std::string name = tags[i]->nameToString ();
if (tags[i]->isDirectory())
for (int j=0; tags[i]->getDirectory(j); j++) {
printf ("%s+-- DIRECTORY %s[%d]:\n", prefixStr, name.c_str(), j);
tags[i]->getDirectory(j)->printAll (level+1);
}
else