mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
- More correct check for GetTextFaceW
svn path=/trunk/; revision=36775
This commit is contained in:
@@ -365,8 +365,7 @@ GetTextFaceW(HDC hDC,
|
||||
{
|
||||
INT retValue;
|
||||
|
||||
if ((pFaceName && nCount) ||
|
||||
!(pFaceName && nCount))
|
||||
if (!pFaceName || (pFaceName && nCount))
|
||||
{
|
||||
retValue = NtGdiGetTextFaceW(hDC, nCount, pFaceName, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user