X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=quote.c;h=04557833a561b4613a511af8fb9f0fb18b36b2fa;hb=fed1b5cac0cc3ae324dc004181a276ea16589951;hp=919d0920abfc0bd2becbcc35fd065514b9651281;hpb=c2015b3ae0d52ccae33ee00c2b25b8402c66bdf0;p=git.git diff --git a/quote.c b/quote.c index 919d0920a..04557833a 100644 --- a/quote.c +++ b/quote.c @@ -131,7 +131,8 @@ static signed char const sq_lookup[256] = { /* 0x80 */ /* set to 0 */ }; -static inline int sq_must_quote(char c) { +static inline int sq_must_quote(char c) +{ return sq_lookup[(unsigned char)c] + quote_path_fully > 0; }