Author: fireball
Date: Sat Dec 29 18:27:19 2007
New Revision: 31493
URL:
http://svn.reactos.org/svn/reactos?rev=31493&view=rev
Log:
- Slightly reformat GetETM's code.
Modified:
trunk/reactos/dll/win32/gdi32/misc/stubs.c
Modified: trunk/reactos/dll/win32/gdi32/misc/stubs.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/misc/stubs…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/misc/stubs.c (original)
+++ trunk/reactos/dll/win32/gdi32/misc/stubs.c Sat Dec 29 18:27:19 2007
@@ -1591,10 +1591,10 @@
EXTTEXTMETRIC *petm)
{
BOOL Ret = NtGdiGetETM(hdc, petm);
- if ( Ret )
- {
- if ( petm ) petm->emKernPairs = GetKerningPairsA(hdc, 0, 0);
- }
+
+ if (Ret && petm)
+ petm->emKernPairs = GetKerningPairsA(hdc, 0, 0);
+
return Ret;
}