fix: unable to compile
This commit is contained in:
parent
799994c0b3
commit
5a494e53c5
|
@ -904,16 +904,16 @@ int argo_write_string(ARGO_STRING *s, FILE *f)
|
|||
}
|
||||
else
|
||||
{
|
||||
if (c <= 0xff)
|
||||
if (*c <= 0xff)
|
||||
{
|
||||
fprintf(f, "%c", *c);
|
||||
}
|
||||
else if (c <= 0xfff)
|
||||
else if (*c <= 0xfff)
|
||||
{
|
||||
fprintf(f, "\\u0%x", c);
|
||||
fprintf(f, "\\u0%x", *c);
|
||||
}
|
||||
else {
|
||||
fprintf(f, "\\u%x", c);
|
||||
fprintf(f, "\\u%x", *c);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue
Block a user