# HG changeset patch # User viric@llimona # Date 1147012084 -7200 # Node ID 7c1e68c17c0ed02bd0294ccd497ed7b3c72618b3 # Parent fe078fb2e8b43afbe1591fc0e189a0989e6bea03 Corrected some bugs. Now the algorithm should work for 1-level dependencies. (that's how it seems) diff -r fe078fb2e8b4 -r 7c1e68c17c0e algorithm.c --- a/algorithm.c Sun May 07 15:28:39 2006 +0200 +++ b/algorithm.c Sun May 07 16:28:04 2006 +0200 @@ -399,7 +399,7 @@ is_not_set_free = TRUE; for(d=0; d<4; d++) { - if(m->box_deps[i].dep_dir[d] > 0) + if(m->box_deps[i].dep_dir[d] >= 0) { if (!dep.box[i][m->box_deps[i].dep_dir[d]]) { @@ -466,7 +466,7 @@ for(i=0; i