[subset] fix --*-file options in hb-subset. (#3176)

The previous change to add -/+ versions of each set type broke all of the --*-file input options since all of the parse functions now default to replacing the set if the + variant is not being used. This fixes the issue by changing parse_file_for to pass '+' as the name to the parsing function. This triggers the append mode.
This commit is contained in:
Garret Rieger 2021-08-26 14:59:29 -06:00 committed by GitHub
parent 9db494f517
commit 1e1438c4fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -660,7 +660,7 @@ parse_file_for (const char *name,
*comment = '\0';
}
line_parser (name, gs->str, data, error);
line_parser ("+", gs->str, data, error);
if (*error)
break;