- Slightly reformat GetETM's code.
authorAleksey Bragin <aleksey@reactos.org>
Sat, 29 Dec 2007 15:27:19 +0000 (15:27 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Sat, 29 Dec 2007 15:27:19 +0000 (15:27 +0000)
svn path=/trunk/; revision=31493

reactos/dll/win32/gdi32/misc/stubs.c

index a6fc6d6..674c810 100644 (file)
@@ -1591,10 +1591,10 @@ GetETM(HDC hdc,
        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;
 }