Forgor to add the n in strncmp.

このコミットが含まれているのは:
MadcowOG 2023-04-21 23:40:28 -07:00
コミット 7e5da8e27b
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -6,7 +6,7 @@
#include <wayland-util.h>
#define STRING_EQUAL(string1, string2) strcmp(string1, string2) == 0
#define STRINGN_EQUAL(string1, string2, n) strcmp(string1, string2, n) == 0
#define STRINGN_EQUAL(string1, string2, n) strncmp(string1, string2, n) == 0
#define LENGTH(X) (sizeof X / sizeof X[0] )
struct List {