Permalink
Browse files

Bug 504305 - FILTER_PATTERNS won't take command with arguments

INPUT_FILTER is a string so multiple values are read till the end of the line and quotes are automatically removed.  FILTER_PATTERNS and FILTER_SOURCE_PATTERNS are list of strings so with multiple arguments for one extension quotes are mandatory, but they were not removed.
  • Loading branch information...
albert-github committed Jan 31, 2016
1 parent 3785228 commit ce7a983c2849e4c8fa72189a896e594a8497dd4c
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/util.cpp
View
@@ -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;
}
}

0 comments on commit ce7a983

Please sign in to comment.