Fixed problem in gen_str.c: back-slash escape
This commit is contained in:
parent
cb4e69cba9
commit
bc0d2e7d69
|
@ -13,7 +13,7 @@ int n;
|
|||
while (n--)
|
||||
{
|
||||
c= *s++;
|
||||
if (isprint(c) && c != '"')
|
||||
if (isprint(c) && c != '"' && c != '\\')
|
||||
fprint(codefile, "%c", c);
|
||||
else
|
||||
fprint(codefile, "\\%03o", c);
|
||||
|
|
Loading…
Reference in a new issue