diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-19 13:07:45 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-19 13:07:45 +0000 |
commit | 9cfbc0fd80410680cf26f5d50c20e08d26f4f194 (patch) | |
tree | 98868d89a57290bafbf2b379455e5899d14b72b0 /libass | |
parent | 61d45a940d518479fa8bf7fceaf641a04e4a0731 (diff) | |
download | mpv-9cfbc0fd80410680cf26f5d50c20e08d26f4f194.tar.bz2 mpv-9cfbc0fd80410680cf26f5d50c20e08d26f4f194.tar.xz |
Cosmetics: fix indentation after last commit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19908 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libass')
-rw-r--r-- | libass/ass_fontconfig.c | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/libass/ass_fontconfig.c b/libass/ass_fontconfig.c index 53dfd17335..0907279c1e 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: + ; } } |