]> granicus.if.org Git - libass/commitdiff
Cosmetics: fix indentation after last commit.
authoreugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>
Tue, 19 Sep 2006 13:07:45 +0000 (13:07 +0000)
committereugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>
Tue, 19 Sep 2006 13:07:45 +0000 (13:07 +0000)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19908 b3059339-0415-0410-9bf9-f77b7e298cf2

libass/ass_fontconfig.c

index 53dfd17335d3ff5139490a2e72508e7e7097f758..0907279c1eeafc36085475337d8aefaddbcc521b 100644 (file)
@@ -157,29 +157,29 @@ fc_instance_t* fontconfig_init(const char* dir, const char* family, const char*
                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:
+                       ;
                }
        }