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:
parent
de8fd4ffd4
commit
abf7d1546c
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue