changeset 19902:2c43912bb46a

Cosmetics: fix indentation after last commit.
author eugeni
date Tue, 19 Sep 2006 13:07:45 +0000
parents 27b87a9dc19a
children 0fd1b699210c
files libass/ass_fontconfig.c
diffstat 1 files changed, 21 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/libass/ass_fontconfig.c	Tue Sep 19 13:06:44 2006 +0000
+++ b/libass/ass_fontconfig.c	Tue Sep 19 13:07:45 2006 +0000
@@ -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;
-		}
+			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 = 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:
-		;
+			rc = FcDirSave(fcs, fss, (const FcChar8 *)dir);
+			if (!rc) {
+				mp_msg(MSGT_GLOBAL, MSGL_WARN, "FcDirSave failed\n");
+				goto ErrorFontCache;
+			}
+		ErrorFontCache:
+			;
 		}
 	}