X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=h%2Ffmt_scan.h;h=38e27934be1680235e6a7787f70891a04373b61d;hb=d3ba09a465cb0e5fc9a74d0b152a7ed965f895cb;hp=96acd562dc5d075ba677205bcde0e9c01d24a551;hpb=b0b1dd37ff515578cf7cba51625189eb34a196cb;p=mmh diff --git a/h/fmt_scan.h b/h/fmt_scan.h index 96acd56..38e2793 100644 --- a/h/fmt_scan.h +++ b/h/fmt_scan.h @@ -59,7 +59,7 @@ extern struct comp *wantcomp[128]; */ #define FINDCOMP(comp,name) \ for (comp = wantcomp[CHASH(name)]; \ - comp && strcmp(comp->c_name,name); \ + comp && strcmp(comp->c_name,name)!=0; \ comp = comp->c_next) ; /*