unescape \a and \b as well
This commit is contained in:
parent
1c1559f36c
commit
57a70fc141
1 changed files with 2 additions and 2 deletions
|
@ -168,9 +168,9 @@ fgUnescape(const char *s)
|
|||
} else if (*s == 'f') {
|
||||
r += '\f';
|
||||
} else if (*s == 'a') {
|
||||
;
|
||||
r += '\a';
|
||||
} else if (*s == 'b') {
|
||||
;
|
||||
r += '\b';
|
||||
} else if (*s == 'x') {
|
||||
if (!*++s)
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue