mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
- Fix two inverted pointer checks, found by Amine Khaldi
- Add, correct implemented comment svn path=/trunk/; revision=42889
This commit is contained in:
parent
687189aaaf
commit
4a61832f36
2 changed files with 8 additions and 5 deletions
|
@ -38,7 +38,11 @@ copy_my_glyphset( FD_GLYPHSET *dst_glyphset , FD_GLYPHSET * src_glyphset, ULONG
|
|||
return retValue;
|
||||
}
|
||||
|
||||
FD_GLYPHSET* WINAPI
|
||||
/*
|
||||
* @implemented
|
||||
*/
|
||||
FD_GLYPHSET*
|
||||
WINAPI
|
||||
EngComputeGlyphSet(INT nCodePage,INT nFirstChar,INT cChars)
|
||||
{
|
||||
FD_GLYPHSET * ntfd_glyphset;
|
||||
|
@ -46,13 +50,12 @@ EngComputeGlyphSet(INT nCodePage,INT nFirstChar,INT cChars)
|
|||
|
||||
ntfd_glyphset = NtGdiEngComputeGlyphSet(nCodePage,nFirstChar,cChars);
|
||||
|
||||
if (!ntfd_glyphset)
|
||||
if (ntfd_glyphset)
|
||||
{
|
||||
if (ntfd_glyphset->cjThis)
|
||||
{
|
||||
myfd_glyphset = GlobalAlloc(0,ntfd_glyphset->cjThis);
|
||||
|
||||
if (!myfd_glyphset)
|
||||
if (myfd_glyphset)
|
||||
{
|
||||
if (copy_my_glyphset(myfd_glyphset,ntfd_glyphset,ntfd_glyphset->cjThis) == FALSE)
|
||||
{
|
||||
|
|
|
@ -1700,7 +1700,7 @@ GdiGetCharDimensions(HDC hdc, LPTEXTMETRICW lptm, LONG *height)
|
|||
*
|
||||
*/
|
||||
/*
|
||||
* @unimplemented
|
||||
* @implemented
|
||||
*/
|
||||
BOOL
|
||||
WINAPI
|
||||
|
|
Loading…
Reference in a new issue