diff --git a/dlls/winedos/int31.c b/dlls/winedos/int31.c index 421e7c4d3e8..71259038295 100644 --- a/dlls/winedos/int31.c +++ b/dlls/winedos/int31.c @@ -363,7 +363,7 @@ static void DPMI_CallRMCBProc( CONTEXT86 *context, RMCB *rmcb, WORD flag ) ctx.SegEs = rmcb->regs_sel; ctx.Edi = rmcb->regs_ofs; /* FIXME: I'm pretty sure this isn't right - should push flags first */ - WOWCallback16Ex( 0, WCB16_REGS, 0, NULL, (DWORD *)&context ); + WOWCallback16Ex( 0, WCB16_REGS, 0, NULL, (DWORD *)&ctx ); es = ctx.SegEs; edi = ctx.Edi; }