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.
This commit is contained in:
Kazunobu Kuriyama 2015-09-28 14:41:04 +09:00 committed by Daniel Hahler
parent bf630de74e
commit 2f7f25dcc7
1 changed files with 1 additions and 1 deletions

View File

@ -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.