- More correct check for GetTextFaceW

svn path=/trunk/; revision=36775
This commit is contained in:
Stefan Ginsberg
2008-10-16 20:21:00 +00:00
parent 2f5ea4625b
commit a8052c7bb2
+1 -2
View File
@@ -365,8 +365,7 @@ GetTextFaceW(HDC hDC,
{
INT retValue;
if ((pFaceName && nCount) ||
!(pFaceName && nCount))
if (!pFaceName || (pFaceName && nCount))
{
retValue = NtGdiGetTextFaceW(hDC, nCount, pFaceName, 0);
}