Fix spacing of multi-argument %* substitutions

This commit is contained in:
Cameron Gutman
2024-02-10 00:06:44 -06:00
parent 11c8cf176c
commit c0ad9639c4
+3
View File
@@ -753,6 +753,9 @@ namespace platf {
// All arguments following the target // All arguments following the target
case L'*': case L'*':
for (int i = 1; i < raw_cmd_parts.size(); i++) { for (int i = 1; i < raw_cmd_parts.size(); i++) {
if (i > 1) {
match_replacement += L' ';
}
match_replacement += raw_cmd_parts.at(i); match_replacement += raw_cmd_parts.at(i);
} }
break; break;