X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/0f00dc4c8eb47e67bc0f148c2dd109f73a451e0a..HEAD:/symm/gthingtab.c.in diff --git a/symm/gthingtab.c.in b/symm/gthingtab.c.in index 1c515205..92fe792b 100644 --- a/symm/gthingtab.c.in +++ b/symm/gthingtab.c.in @@ -9,10 +9,12 @@ #include +#include + #include "@what.h" %repeat -#include "@{thing:left}.h" +#include "@{thing:left:f}.h" %end const @cls *const @{what}tab[] = { @@ -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); }