X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=quote.c;h=009e69494b007fc7bfe590029c144d9ce41aa6b5;hb=28fba290e3868a41e36379906407cf318cedfe57;hp=7df05a9c7c0935170acd84105289fe531da7f7c3;hpb=58452f9442a1fa20e0fde5d200091b7f02e62cea;p=git.git diff --git a/quote.c b/quote.c index 7df05a9c..009e6949 100644 --- a/quote.c +++ b/quote.c @@ -88,8 +88,8 @@ int quote_c_style(const char *name, char *outbuf, FILE *outfp, int no_dq) EMIT('"'); for (sp = name; (ch = *sp++); ) { - if ((ch <= ' ') || (ch == '"') || - (ch == '\\') || (ch == 0177)) { + if ((ch < ' ') || (ch == '"') || (ch == '\\') || + (ch == 0177)) { needquote = 1; switch (ch) { case '\a': EMITQ(); ch = 'a'; break;