diff --git a/subst.c b/subst.c
index 215e3469..63ca3370 100644
--- a/subst.c
+++ b/subst.c
@@ -1042,7 +1042,7 @@ skip_double_quoted (const char *string, size_t
slen, int sind, int flags)
          if (string[i + 1] == LPAREN)
            ret = extract_command_subst (string, &si,
SX_NOALLOC|(flags&SX_COMPLETE));
          else if (string[i + 1] == LBRACE && FUNSUB_CHAR (string[si]))
-           ret = extract_function_subst (string, &si,
Q_DOUBLE_QUOTES, (flags & SX_COMPLETE));
+           ret = extract_function_subst (string, &si,
Q_DOUBLE_QUOTES, SX_NOALLOC|(flags&SX_COMPLETE));
          else
            ret = extract_dollar_brace_string (string, &si,
Q_DOUBLE_QUOTES, SX_NOALLOC|(flags&SX_COMPLETE));

Reply via email to