Skip to content

Commit

Permalink
Treat escape sequences like other replacements
Browse files Browse the repository at this point in the history
  • Loading branch information
cgutman committed Feb 10, 2024
1 parent c0ad963 commit 78ed91a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/platform/windows/misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -722,9 +722,8 @@ namespace platf {
switch (next_char) {
// Escape character
case L'%':
// Skip this character and the next one
match_pos += 2;
continue;
match_replacement = L'%';
break;

// Argument replacements
case L'0':
Expand Down

0 comments on commit 78ed91a

Please sign in to comment.