Alexandre Julliard : gdi: Ignore a few more metafile escapes.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jan 18 10:50:44 CST 2006


Module: wine
Branch: refs/heads/master
Commit: bde6885161ea6a21cfea5cd2678a02cf3f736267
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=bde6885161ea6a21cfea5cd2678a02cf3f736267

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Jan 18 13:23:20 2006 +0100

gdi: Ignore a few more metafile escapes.

---

 dlls/gdi/metafile.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/gdi/metafile.c b/dlls/gdi/metafile.c
index 55c8296..80de9c7 100644
--- a/dlls/gdi/metafile.c
+++ b/dlls/gdi/metafile.c
@@ -865,6 +865,8 @@ BOOL WINAPI PlayMetaFileRecord( HDC hdc,
     case META_ESCAPE:
         switch (mr->rdParm[0]) {
         case GETSCALINGFACTOR: /* get function ... would just NULL dereference */
+        case GETPHYSPAGESIZE:
+        case GETPRINTINGOFFSET:
              return FALSE;
         case SETABORTPROC:
              FIXME("Filtering Escape(SETABORTPROC), possible virus?\n");




More information about the wine-cvs mailing list