Commit 0711df62 authored by Eric Kohl's avatar Eric Kohl Committed by Alexandre Julliard

Disabled setting of viewport origin from an EMF.

parent 8cc20f8f
......@@ -439,9 +439,15 @@ BOOL WINAPI PlayEnhMetaFileRecord(
}
case EMR_SETVIEWPORTORGEX:
{
/*
* FIXME: The call to SetViewportOrgEx prevents EMFs from being scrolled
* by an application. This is very bad manner!!!
*/
#if 0
PEMRSETVIEWPORTORGEX pSetViewportOrgEx = (PEMRSETVIEWPORTORGEX) mr;
SetViewportOrgEx(hdc, pSetViewportOrgEx->ptlOrigin.x,
pSetViewportOrgEx->ptlOrigin.y, NULL);
#endif
break;
}
case EMR_SETVIEWPORTEXTEX:
......
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