Fixed bug in generate_startup_debug_events().

This commit is contained in:
Alexandre Julliard 2000-03-15 19:45:15 +00:00
parent a3f2380f01
commit f2f1ff333e
1 changed files with 1 additions and 1 deletions

View File

@ -479,7 +479,7 @@ void generate_startup_debug_events( struct process *process )
/* generate creation events */
generate_debug_event( thread, CREATE_PROCESS_DEBUG_EVENT, process );
while ((thread = thread->next))
while ((thread = thread->proc_next))
generate_debug_event( thread, CREATE_THREAD_DEBUG_EVENT, thread );
/* generate dll events (in loading order, i.e. reverse list order) */