wineps.drv: Fix EMR_SAVEDC record playback.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55927
This commit is contained in:
Piotr Caban 2023-11-29 21:36:09 +01:00 committed by Alexandre Julliard
parent ccbf1d25b6
commit 4843daaee1

View file

@ -2250,7 +2250,7 @@ static int WINAPI hmf_proc(HDC hdc, HANDLETABLE *htable,
}
case EMR_SAVEDC:
{
int ret = PlayEnhMetaFileRecord(hdc, htable, rec, handle_count);
int ret = PlayEnhMetaFileRecord(data->ctx->hdc, htable, rec, handle_count);
if (!data->saved_dc_size)
{