- Slightly reformat GetETM's code.

svn path=/trunk/; revision=31493
This commit is contained in:
Aleksey Bragin 2007-12-29 15:27:19 +00:00
parent c81101f016
commit c1087e7b19

View file

@ -1591,10 +1591,10 @@ GetETM(HDC hdc,
EXTTEXTMETRIC *petm) EXTTEXTMETRIC *petm)
{ {
BOOL Ret = NtGdiGetETM(hdc, petm); BOOL Ret = NtGdiGetETM(hdc, petm);
if ( Ret )
{ if (Ret && petm)
if ( petm ) petm->emKernPairs = GetKerningPairsA(hdc, 0, 0); petm->emKernPairs = GetKerningPairsA(hdc, 0, 0);
}
return Ret; return Ret;
} }