Skip to content

Commit

Permalink
Fix spacing of multi-argument %* substitutions
Browse files Browse the repository at this point in the history
  • Loading branch information
cgutman committed Feb 10, 2024
1 parent 11c8cf1 commit c0ad963
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/platform/windows/misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,9 @@ namespace platf {
// All arguments following the target
case L'*':
for (int i = 1; i < raw_cmd_parts.size(); i++) {
if (i > 1) {
match_replacement += L' ';
}
match_replacement += raw_cmd_parts.at(i);
}
break;
Expand Down

0 comments on commit c0ad963

Please sign in to comment.