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
bf630de74e
commit
2f7f25dcc7
|
@ -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