~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Release 2.6.2.
[catacomb]
/
symm
/
gthingtab.c.in
diff --git
a/symm/gthingtab.c.in
b/symm/gthingtab.c.in
index
29b733b
..
92fe792
100644
(file)
--- a/
symm/gthingtab.c.in
+++ b/
symm/gthingtab.c.in
@@
-9,6
+9,8
@@
#include <string.h>
#include <string.h>
+#include <mLib/macros.h>
+
#include "@what.h"
%repeat
#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++)
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);
}
return (0);
}