aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tools/skdiff_main.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/tools/skdiff_main.cpp b/tools/skdiff_main.cpp
index c0541d980c..3ff7c25eb2 100644
--- a/tools/skdiff_main.cpp
+++ b/tools/skdiff_main.cpp
@@ -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(""));
}