From: eugeni Date: Tue, 19 Sep 2006 13:07:45 +0000 (+0000) Subject: Cosmetics: fix indentation after last commit. X-Git-Tag: 0.9.7~443 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c1007af20d122b5f180d09a062aec653460f514;p=libass Cosmetics: fix indentation after last commit. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19908 b3059339-0415-0410-9bf9-f77b7e298cf2 --- diff --git a/libass/ass_fontconfig.c b/libass/ass_fontconfig.c index 53dfd17..0907279 100644 --- a/libass/ass_fontconfig.c +++ b/libass/ass_fontconfig.c @@ -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: + ; } }