mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 23:11:38 +00:00
Print all dag nodes in a dag.
Dags can have multiple roots, so only recursing once could miss much of the dag.
This commit is contained in:
parent
dbf1aa8f72
commit
c57df8b5f3
1 changed files with 2 additions and 1 deletions
|
@ -99,5 +99,6 @@ void
|
|||
print_dag (dstring_t *dstr, dagnode_t *dag)
|
||||
{
|
||||
print_count++;
|
||||
print_node (dstr, dag);
|
||||
for (; dag; dag = dag->next)
|
||||
print_node (dstr, dag);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue