Sorry missed this one. Turn it off.

svn path=/trunk/; revision=28445
This commit is contained in:
James Tabor 2007-08-21 07:45:02 +00:00
parent 1cdbcdc32e
commit c27ffbed0c

View file

@ -121,7 +121,7 @@ BOOL
STDCALL STDCALL
LPtoDP ( HDC hDC, LPPOINT Points, INT Count ) LPtoDP ( HDC hDC, LPPOINT Points, INT Count )
{ {
//#if 0 #if 0
INT i; INT i;
PDC_ATTR Dc_Attr; PDC_ATTR Dc_Attr;
@ -130,16 +130,16 @@ LPtoDP ( HDC hDC, LPPOINT Points, INT Count )
if (Dc_Attr->flXform & ( PAGE_XLATE_CHANGED | // Check for Changes and Updates if (Dc_Attr->flXform & ( PAGE_XLATE_CHANGED | // Check for Changes and Updates
PAGE_EXTENTS_CHANGED | PAGE_EXTENTS_CHANGED |
WORLD_XFORM_CHANGED )) WORLD_XFORM_CHANGED ))
//#endif #endif
return NtGdiTransformPoints( hDC, Points, Points, Count, GdiLpToDp); // LPtoDP mode return NtGdiTransformPoints( hDC, Points, Points, Count, GdiLpToDp); // LPtoDP mode
//#if 0 #if 0
else else
{ {
for ( i = 0; i < Count; i++ ) for ( i = 0; i < Count; i++ )
CoordCnvP ( &Dc_Attr->mxWorldToDevice, &Points[i] ); CoordCnvP ( &Dc_Attr->mxWorldToDevice, &Points[i] );
} }
return TRUE; return TRUE;
//#endif #endif
} }