skdiff: no longer skip .pdf files by default

Review URL: https://codereview.appspot.com/6257080

git-svn-id: http://skia.googlecode.com/svn/trunk@4330 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
epoger@google.com 2012-06-25 18:45:50 +00:00
parent 1015e03467
commit da4af24c9c

View File

@ -1146,12 +1146,8 @@ int main (int argc, char ** argv) {
outputDir.set("");
}
// Default substring matching:
// - No matter what, don't match any PDF files.
// We may want to change this later, but for now this maintains the filter
// that get_file_list() used to always apply.
// - If no matchSubstrings were specified, match ALL strings.
nomatchSubstrings.push(new SkString(".pdf"));
// If no matchSubstrings were specified, match ALL strings
// (except for whatever nomatchSubstrings were specified, if any).
if (matchSubstrings.isEmpty()) {
matchSubstrings.push(new SkString(""));
}