Fixed issue with cycles count

This commit is contained in:
Devine Lu Linvega 2024-04-15 12:08:27 -07:00
parent 966304f09a
commit 0012004ee5
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }