Fixed issue with cycles count
This commit is contained in:
parent
966304f09a
commit
0012004ee5
|
@ -212,6 +212,6 @@ main(int argc, char **argv)
|
||||||
while(*(--w) <= ' ') *w = 0;
|
while(*(--w) <= ' ') *w = 0;
|
||||||
fclose(f);
|
fclose(f);
|
||||||
while(rewrite())
|
while(rewrite())
|
||||||
if(cycles--) return !fprintf(stderr, "Cycle limit exceeded.\n");
|
if(!cycles--) return !fprintf(stderr, "Cycle limit exceeded.\n");
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
Loading…
Reference in New Issue