summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/quotearg.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/quotearg.c b/lib/quotearg.c
index 6e923a81e..124f74274 100644
--- a/lib/quotearg.c
+++ b/lib/quotearg.c
@@ -263,6 +263,10 @@ quotearg_buffer (char *buffer, size_t buffersize,
goto store_escape;
break;
+ case ' ':
+ if (quoting_style == c_quoting_style)
+ goto store_c;
+ /* Fall through. */
default:
if (!ISGRAPH (c))
{