mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
Add NULL check for lpnFit in GetTextExtentExPointW.
This commit is contained in:
parent
bc381a6a3f
commit
96cda94483
@ -1154,7 +1154,7 @@ BOOL WINAPI GetTextExtentExPointW( HDC hdc, LPCWSTR str, INT count,
|
|||||||
else break;
|
else break;
|
||||||
}
|
}
|
||||||
size->cx = extent;
|
size->cx = extent;
|
||||||
*lpnFit = nFit;
|
if(lpnFit) *lpnFit = nFit;
|
||||||
ret = TRUE;
|
ret = TRUE;
|
||||||
|
|
||||||
TRACE("(%08x %s %d) returning %d %ld x %ld\n",
|
TRACE("(%08x %s %d) returning %d %ld x %ld\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user