- Sorry for the misunderstanding,,, fix typo, see bug report 3863.

svn path=/trunk/; revision=37384
This commit is contained in:
James Tabor 2008-11-16 01:49:23 +00:00
parent 7d34208e7f
commit 132a0cb3b8

View file

@ -100,7 +100,7 @@ GetPath(HDC hdc,
{
INT retValue = -1;
if (GDI_HANDLE_GET_TYPE(hdc) != GDI_OBJECT_TYPE_METADC)
if (GDI_HANDLE_GET_TYPE(hdc) == GDI_OBJECT_TYPE_METADC)
{
SetLastError(ERROR_INVALID_PARAMETER);
}