Treat escape sequences like other replacements
This commit is contained in:
parent
c0ad9639c4
commit
78ed91af5c
1 changed files with 2 additions and 3 deletions
|
|
@ -722,9 +722,8 @@ namespace platf {
|
||||||
switch (next_char) {
|
switch (next_char) {
|
||||||
// Escape character
|
// Escape character
|
||||||
case L'%':
|
case L'%':
|
||||||
// Skip this character and the next one
|
match_replacement = L'%';
|
||||||
match_pos += 2;
|
break;
|
||||||
continue;
|
|
||||||
|
|
||||||
// Argument replacements
|
// Argument replacements
|
||||||
case L'0':
|
case L'0':
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue