src: replaced references to NODE_FILE with call to isFile

This commit is contained in:
mlangkabel
2017-12-07 14:52:12 +01:00
parent b02596ddfa
commit 91b0c5d05f
9 changed files with 34 additions and 13 deletions
+1 -1
View File
@@ -219,7 +219,7 @@ void SearchMatch::print(std::ostream& ostream) const
std::string SearchMatch::getFullName() const
{
if (searchType == SEARCH_TOKEN && nodeType.getType() == NodeType::NODE_FILE)
if (searchType == SEARCH_TOKEN && nodeType.isFile())
{
return text;
}