summaryrefslogtreecommitdiffstats
path: root/src/m_loop_next.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-09-05 18:40:28 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-09-05 18:40:28 +0200
commitc75434256658e3009a5c61d02524cb49492bd120 (patch)
tree67715ca37c63883b84050598970e98eeeb1e2c67 /src/m_loop_next.c
parentBetter defines (diff)
download42-minishell-c75434256658e3009a5c61d02524cb49492bd120.tar.gz
42-minishell-c75434256658e3009a5c61d02524cb49492bd120.tar.bz2
42-minishell-c75434256658e3009a5c61d02524cb49492bd120.tar.xz
42-minishell-c75434256658e3009a5c61d02524cb49492bd120.tar.zst
42-minishell-c75434256658e3009a5c61d02524cb49492bd120.zip
Clean af
Diffstat (limited to 'src/m_loop_next.c')
-rw-r--r--src/m_loop_next.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/m_loop_next.c b/src/m_loop_next.c
index 3bc85e8..fb95236 100644
--- a/src/m_loop_next.c
+++ b/src/m_loop_next.c
@@ -199,7 +199,7 @@ static t_bool
{
if (*ptr == C_SQUOTE || *ptr == C_DQUOTE)
{
- if (u_is_true_quote(line, ptr) == TRUE)
+ if (u_is_not_escaped(line, ptr) == TRUE)
{
mode = (*ptr == C_SQUOTE) ? (Q_SINGLE) : (Q_DOUBLE);
if (m_find_next_quote(&ptr, line, mode) == FALSE)