summaryrefslogtreecommitdiff
path: root/src/lexparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lexparse.c')
-rw-r--r--src/lexparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lexparse.c b/src/lexparse.c
index e412759..a4105eb 100644
--- a/src/lexparse.c
+++ b/src/lexparse.c
@@ -67,7 +67,7 @@ static MaybeChunk handle_dollar_expansion(char* line, size_t* pos, QuotationMode
static Chunk collect_un_q_literal(char* line, size_t* pos) {
String buf = make_String(256);
size_t i;
- for (i = *pos; line[i] != '$' && line[i] != '\0' && line[i] == ' '; i++) {
+ for (i = *pos; line[i] != '$' && line[i] != '\0' && line[i] != ' '; i++) {
push_to_String(&buf, line[i]);
}
*pos = i;