gdi32: Indentation fix

Andrew Talbot andrew.talbot at talbotville.com
Sat Dec 15 08:43:34 CST 2012


Changelog:
    gdi32: Indentation fix.

diff --git a/dlls/gdi32/font.c b/dlls/gdi32/font.c
index 33e603c..d4bfc0f 100644
--- a/dlls/gdi32/font.c
+++ b/dlls/gdi32/font.c
@@ -3135,23 +3135,25 @@ GetCharacterPlacementW(
 		DWORD dwFlags 		/* [in] Flags specifying how to process the string */
 		)
 {
-    DWORD ret=0;
-    SIZE size;
-    UINT i, nSet;
-
-    TRACE("%s, %d, %d, 0x%08x\n",
-          debugstr_wn(lpString, uCount), uCount, nMaxExtent, dwFlags);
-
-    TRACE("lStructSize=%d, lpOutString=%p, lpOrder=%p, lpDx=%p, lpCaretPos=%p\n"
-          "lpClass=%p, lpGlyphs=%p, nGlyphs=%u, nMaxFit=%d\n",
-	    lpResults->lStructSize, lpResults->lpOutString, lpResults->lpOrder,
-	    lpResults->lpDx, lpResults->lpCaretPos, lpResults->lpClass,
-	    lpResults->lpGlyphs, lpResults->nGlyphs, lpResults->nMaxFit);
-
-    if(dwFlags&(~GCP_REORDER))			FIXME("flags 0x%08x ignored\n", dwFlags);
-    if(lpResults->lpClass)	FIXME("classes not implemented\n");
-    if (lpResults->lpCaretPos && (dwFlags & GCP_REORDER))
-        FIXME("Caret positions for complex scripts not implemented\n");
+	DWORD ret=0;
+	SIZE size;
+	UINT i, nSet;
+
+	TRACE("%s, %d, %d, 0x%08x\n",
+		debugstr_wn(lpString, uCount), uCount, nMaxExtent, dwFlags);
+
+	TRACE("lStructSize=%d, lpOutString=%p, lpOrder=%p, lpDx=%p, lpCaretPos=%p\n"
+		"lpClass=%p, lpGlyphs=%p, nGlyphs=%u, nMaxFit=%d\n",
+		lpResults->lStructSize, lpResults->lpOutString, lpResults->lpOrder,
+		lpResults->lpDx, lpResults->lpCaretPos, lpResults->lpClass,
+		lpResults->lpGlyphs, lpResults->nGlyphs, lpResults->nMaxFit);
+
+	if(dwFlags&(~GCP_REORDER))
+		FIXME("flags 0x%08x ignored\n", dwFlags);
+	if(lpResults->lpClass)
+		FIXME("classes not implemented\n");
+	if (lpResults->lpCaretPos && (dwFlags & GCP_REORDER))
+		FIXME("Caret positions for complex scripts not implemented\n");
 
 	nSet = (UINT)uCount;
 	if(nSet > lpResults->nGlyphs)
@@ -3189,23 +3191,23 @@ GetCharacterPlacementW(
 		}
 	}
 
-    if (lpResults->lpCaretPos && !(dwFlags & GCP_REORDER))
-    {
-        int pos = 0;
-       
-        lpResults->lpCaretPos[0] = 0;
-        for (i = 1; i < nSet; i++)
-            if (GetTextExtentPoint32W(hdc, &(lpString[i - 1]), 1, &size))
-                lpResults->lpCaretPos[i] = (pos += size.cx);
-    }
-   
-    if(lpResults->lpGlyphs)
-	GetGlyphIndicesW(hdc, lpString, nSet, lpResults->lpGlyphs, 0);
+	if (lpResults->lpCaretPos && !(dwFlags & GCP_REORDER))
+	{
+		int pos = 0;
 
-    if (GetTextExtentPoint32W(hdc, lpString, uCount, &size))
-      ret = MAKELONG(size.cx, size.cy);
+		lpResults->lpCaretPos[0] = 0;
+		for (i = 1; i < nSet; i++)
+			if (GetTextExtentPoint32W(hdc, &(lpString[i - 1]), 1, &size))
+				lpResults->lpCaretPos[i] = (pos += size.cx);
+	}
 
-    return ret;
+	if(lpResults->lpGlyphs)
+		GetGlyphIndicesW(hdc, lpString, nSet, lpResults->lpGlyphs, 0);
+
+	if (GetTextExtentPoint32W(hdc, lpString, uCount, &size))
+		ret = MAKELONG(size.cx, size.cy);
+
+	return ret;
 }
 
 /*************************************************************************




More information about the wine-patches mailing list