]> git.marmaro.de Git - mmh/blobdiff - h/fmt_scan.h
Activated Jon's attachment system by default and steamlined it.
[mmh] / h / fmt_scan.h
index 96acd562dc5d075ba677205bcde0e9c01d24a551..38e27934be1680235e6a7787f70891a04373b61d 100644 (file)
@@ -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) ;
 
 /*