# HG changeset patch # User eugeni # Date 1158671265 0 # Node ID 2c43912bb46ab350b01e2328616d20784428d6ba # Parent 27b87a9dc19af869e5c5d03f96c80ee9652e94b1 Cosmetics: fix indentation after last commit. diff -r 27b87a9dc19a -r 2c43912bb46a libass/ass_fontconfig.c --- 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: + ; } }