X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/aaae9cab01b8d7a0e6cf0c273182a51fd03a9d61..HEAD:/symm/gthingtab.c.in diff --git a/symm/gthingtab.c.in b/symm/gthingtab.c.in index 29b733b3..92fe792b 100644 --- a/symm/gthingtab.c.in +++ b/symm/gthingtab.c.in @@ -9,6 +9,8 @@ #include +#include + #include "@what.h" %repeat @@ -27,6 +29,6 @@ const @cls *@{what}_byname(const char *p) const @cls *const *c; for (c = @{what}tab; *c; c++) - if (strcmp(p, (*c)->name) == 0) return (*c); + if (STRCMP(p, ==, (*c)->name)) return (*c); return (0); }