gdi32: Add EMR_GDICOMMENT to the list of records producing output.
Dmitry Timoshkov
dmitry at codeweavers.com
Thu Oct 23 07:32:43 CDT 2008
This completely fixes the print previews generated by MS Access in a Win9x
mode. Access has a custom handler for an EMR_GDICOMMENT record, and GDI APIs
it calls from it don't work properly due to wrong DC mapping.
---
dlls/gdi32/enhmetafile.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/gdi32/enhmetafile.c b/dlls/gdi32/enhmetafile.c
index e998c60..22451d2 100644
--- a/dlls/gdi32/enhmetafile.c
+++ b/dlls/gdi32/enhmetafile.c
@@ -692,6 +692,7 @@ static BOOL emr_produces_output(int type)
case EMR_LINETO:
case EMR_ARCTO:
case EMR_POLYDRAW:
+ case EMR_GDICOMMENT:
case EMR_FILLRGN:
case EMR_FRAMERGN:
case EMR_INVERTRGN:
--
1.6.0.2
More information about the wine-patches
mailing list