[MPlayer-cvslog] r19908 - trunk/libass/ass_fontconfig.c

eugeni subversion at mplayerhq.hu
Tue Sep 19 15:07:45 CEST 2006


Author: eugeni
Date: Tue Sep 19 15:07:45 2006
New Revision: 19908

Modified:
   trunk/libass/ass_fontconfig.c

Log:
Cosmetics: fix indentation after last commit.


Modified: trunk/libass/ass_fontconfig.c
==============================================================================
--- trunk/libass/ass_fontconfig.c	(original)
+++ trunk/libass/ass_fontconfig.c	Tue Sep 19 15:07:45 2006
@@ -157,29 +157,29 @@
 		mp_msg(MSGT_GLOBAL, MSGL_INFO, "[ass] Updating font cache\n");
 		// FontConfig >= 2.4.0 updates cache automatically in FcConfigAppFontAddDir()
 		if (FcGetVersion() < 20400) {
-		FcFontSet* fcs;
-		FcStrSet* fss;
-		fcs = FcFontSetCreate();
-		fss = FcStrSetCreate();
-		rc = FcStrSetAdd(fss, (const FcChar8*)dir);
-		if (!rc) {
-			mp_msg(MSGT_GLOBAL, MSGL_WARN, "FcStrSetAdd failed\n");
-			goto ErrorFontCache;
-		}
-
-		rc = FcDirScan(fcs, fss, NULL, FcConfigGetBlanks(priv->config), (const FcChar8 *)dir, FcFalse);
-		if (!rc) {
-			mp_msg(MSGT_GLOBAL, MSGL_WARN, "FcDirScan failed\n");
-			goto ErrorFontCache;
-		}
-
-		rc = FcDirSave(fcs, fss, (const FcChar8 *)dir);
-		if (!rc) {
-			mp_msg(MSGT_GLOBAL, MSGL_WARN, "FcDirSave failed\n");
-			goto ErrorFontCache;
-		}
-	ErrorFontCache:
-		;
+			FcFontSet* fcs;
+			FcStrSet* fss;
+			fcs = FcFontSetCreate();
+			fss = FcStrSetCreate();
+			rc = FcStrSetAdd(fss, (const FcChar8*)dir);
+			if (!rc) {
+				mp_msg(MSGT_GLOBAL, MSGL_WARN, "FcStrSetAdd failed\n");
+				goto ErrorFontCache;
+			}
+
+			rc = FcDirScan(fcs, fss, NULL, FcConfigGetBlanks(priv->config), (const FcChar8 *)dir, FcFalse);
+			if (!rc) {
+				mp_msg(MSGT_GLOBAL, MSGL_WARN, "FcDirScan failed\n");
+				goto ErrorFontCache;
+			}
+
+			rc = FcDirSave(fcs, fss, (const FcChar8 *)dir);
+			if (!rc) {
+				mp_msg(MSGT_GLOBAL, MSGL_WARN, "FcDirSave failed\n");
+				goto ErrorFontCache;
+			}
+		ErrorFontCache:
+			;
 		}
 	}
 



More information about the MPlayer-cvslog mailing list