summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2016-02-02 20:51:01 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2016-02-02 20:51:01 (GMT)
commit48e6c4984a6b8580c47e59bbca9ed89138eb29a0 (patch)
tree37f48b4834731d7cb3ba48c62b7bbf28cb4761b4
parent3e6e2dcf8867a25b34f1db640519b78a1850ca62 (diff)
parentce7a983c2849e4c8fa72189a896e594a8497dd4c (diff)
downloadDoxygen-48e6c4984a6b8580c47e59bbca9ed89138eb29a0.zip
Doxygen-48e6c4984a6b8580c47e59bbca9ed89138eb29a0.tar.gz
Doxygen-48e6c4984a6b8580c47e59bbca9ed89138eb29a0.tar.bz2
Merge pull request #449 from albert-github/feature/bug_504305
Bug 504305 - FILTER_PATTERNS won't take command with arguments
-rwxr-xr-xsrc/util.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 3a15102..2861064 100755
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -2366,6 +2366,12 @@ QCString getFileFilter(const char* name,bool isSourceCode)
}
else
{
+ /* remove surrounding double quotes */
+ if ((filterName.right(1) == "\"") && (filterName.left(1) == "\""))
+ {
+ filterName.remove(filterName.length() - 1, 1);
+ filterName.remove(0, 1);
+ }
return filterName;
}
}