summaryrefslogtreecommitdiffstats
path: root/src/p_args_escape.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/p_args_escape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p_args_escape.c b/src/p_args_escape.c
index 834d9f7..ed319a1 100644
--- a/src/p_args_escape.c
+++ b/src/p_args_escape.c
@@ -108,7 +108,7 @@ static void
{
if (*ptr == C_SQUOTE)
mode = p_escape_squote(ptr, &ptr, word, mode);
- else if (*ptr == C_DQUOTE)
+ if (*ptr == C_DQUOTE)
mode = p_escape_dquote(ptr, &ptr, word, mode);
if (*ptr == C_BACKS)
p_escape_bs(ptr, &ptr, word, mode);