From ab69117ff18f8b4a2b13adeada00cabd7d997855 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Sun, 6 Sep 2020 17:56:59 +0200 Subject: Better defines --- src/u_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/u_utils.c') diff --git a/src/u_utils.c b/src/u_utils.c index fb1dcf6..7f75c4d 100644 --- a/src/u_utils.c +++ b/src/u_utils.c @@ -23,8 +23,8 @@ t_bool u_is_not_escaped(char *head, char *ptr) { if (((ptr - head) == 0) || - ((ptr - head) >= 1 && *(ptr - 1) != C_BS) || - ((ptr - head) > 1 && *(ptr - 1) == C_BS && *(ptr - 2) == C_BS)) + ((ptr - head) >= 1 && *(ptr - 1) != C_BACKS) || + ((ptr - head) > 1 && *(ptr - 1) == C_BACKS && *(ptr - 2) == C_BACKS)) return (TRUE); return (FALSE); } -- cgit v1.2.3