dbghelp: Assign to struct instead of using memcpy.

This commit is contained in:
Andrew Talbot 2008-02-14 22:02:25 +00:00 committed by Alexandre Julliard
parent cef389c106
commit 6733c6bad0
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ static BOOL fetch_thread_info(struct dump_context* dc, int thd_idx,
}
else pctx = except->ExceptionPointers->ContextRecord;
memcpy(ctx, pctx, sizeof(*ctx));
*ctx = *pctx;
fetch_thread_stack(dc, tbi.TebBaseAddress, pctx, &mdThd->Stack);
}
else mdThd->SuspendCount = 0;