summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/quotearg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/quotearg.c b/lib/quotearg.c
index 40114d7fbd..e280e6ec21 100644
--- a/lib/quotearg.c
+++ b/lib/quotearg.c
@@ -626,7 +626,7 @@ quotearg_buffer_restyled (char *buffer, size_t buffersize,
if (! ((backslash_escapes || elide_outer_quotes)
&& quote_these_too
- && quote_these_too[c / INT_BITS] & (1 << (c % INT_BITS)))
+ && quote_these_too[c / INT_BITS] >> (c % INT_BITS) & 1)
&& !is_right_quote)
goto store_c;