mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 12:23:28 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user