Skip to content

Commit 48e6c49

Browse files
author
Dimitri van Heesch
committed
Merge pull request doxygen#449 from albert-github/feature/bug_504305
Bug 504305 - FILTER_PATTERNS won't take command with arguments
2 parents 3e6e2dc + ce7a983 commit 48e6c49

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/util.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2366,6 +2366,12 @@ QCString getFileFilter(const char* name,bool isSourceCode)
23662366
}
23672367
else
23682368
{
2369+
/* remove surrounding double quotes */
2370+
if ((filterName.right(1) == "\"") && (filterName.left(1) == "\""))
2371+
{
2372+
filterName.remove(filterName.length() - 1, 1);
2373+
filterName.remove(0, 1);
2374+
}
23692375
return filterName;
23702376
}
23712377
}

0 commit comments

Comments
 (0)