Commit f2f1ff33 authored by Alexandre Julliard's avatar Alexandre Julliard

Fixed bug in generate_startup_debug_events().

parent a3f2380f
......@@ -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) */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment