From 2f7f25dcc7e0cc8cc081c4877d14614a0af9c3f3 Mon Sep 17 00:00:00 2001 From: Kazunobu Kuriyama Date: Mon, 28 Sep 2015 14:41:04 +0900 Subject: [PATCH] Fix the definition of A_STRNEQ_CASE Replace A_STRCASEEQ whose definition is not given anywhere with A_STREQ_CASE. Closes https://github.com/awesomeWM/awesome/pull/488. --- common/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/util.h b/common/util.h index cf4500f4..af3c4d84 100644 --- a/common/util.h +++ b/common/util.h @@ -237,7 +237,7 @@ static inline int a_strcasecmp(const char *a, const char *b) } #define A_STREQ_CASE(a, b) (((a) == (b)) || a_strcasecmp(a, b) == 0) -#define A_STRNEQ_CASE(a, b) (!A_STRCASEEQ(a, b)) +#define A_STRNEQ_CASE(a, b) (!A_STREQ_CASE(a, b)) /** \brief \c NULL resistant strncmp. * \param[in] a the first string.