projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e966111
)
Get rid of unnecessary negation.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 11 Dec 2008 11:05:28 +0000
(11:05 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 11 Dec 2008 11:05:28 +0000
(11:05 +0000)
[r24517]
ast.c
patch
|
blob
|
history
diff --git
a/ast.c
b/ast.c
index
f8ead47
..
5910085
100644
(file)
--- a/
ast.c
+++ b/
ast.c
@@
-304,10
+304,10
@@
static void print_quoted_wide_string(const wide_string_t *const wstr,
default: {
const unsigned tc = *c;
if (tc < 0x80U) {
- if (!isprint(*c)) {
- fprintf(out, "\\%03o", tc);
- } else {
+ if (isprint(*c)) {
fputc(*c, out);
+ } else {
+ fprintf(out, "\\%03o", tc);
}
} else if (tc < 0x800) {
fputc(0xC0 | (tc >> 6), out);