Author: jimtabor
Date: Sun Nov 26 03:53:07 2006
New Revision: 24829
URL:
http://svn.reactos.org/svn/reactos?rev=24829&view=rev
Log:
Fixed iType for non and file meta dc.
Modified:
trunk/reactos/dll/win32/gdi32/include/gdi32p.h
trunk/reactos/dll/win32/gdi32/objects/metafile.c
Modified: trunk/reactos/dll/win32/gdi32/include/gdi32p.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/include/gd…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/include/gdi32p.h (original)
+++ trunk/reactos/dll/win32/gdi32/include/gdi32p.h Sun Nov 26 03:53:07 2006
@@ -50,6 +50,7 @@
PVOID pvMetaBuffer;
HANDLE hFile; /* Handle for disk based MetaFile */
DWORD Size;
+ INT iType;
PENHMETAHEADER emf;
UINT handles_size, cur_handles;
HGDIOBJ *handles;
Modified: trunk/reactos/dll/win32/gdi32/objects/metafile.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/objects/me…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/objects/metafile.c (original)
+++ trunk/reactos/dll/win32/gdi32/objects/metafile.c Sun Nov 26 03:53:07 2006
@@ -254,10 +254,10 @@
return NULL;
}
EmfDC.hFile = hFile;
- EmfDC->emf.iType = 2;
+ EmfDC.iType = 2;
}
else
- EmfDC->emf.iType = 1;
+ EmfDC.iType = 1;
return mDC;
}