diff options
author | Oneric <oneric@oneric.stub> | 2022-09-30 22:48:11 +0200 |
---|---|---|
committer | Oneric <oneric@oneric.stub> | 2022-10-14 20:17:42 +0200 |
commit | 833d4026cb1eb9c97d8d67dc57cbde9ade4638ea (patch) | |
tree | 4ca3628c2745f4d43ab983a8c80a31d370afcb4f /libass | |
parent | 3c693b4a55005571f8426449f2bba3b2fde7828f (diff) | |
download | libass-833d4026cb1eb9c97d8d67dc57cbde9ade4638ea.tar.bz2 libass-833d4026cb1eb9c97d8d67dc57cbde9ade4638ea.tar.xz |
cosmetic: indent postprocessing of parsed values
Diffstat (limited to 'libass')
-rw-r--r-- | libass/ass.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libass/ass.c b/libass/ass.c index 19cc460..0624b98 100644 --- a/libass/ass.c +++ b/libass/ass.c @@ -523,10 +523,10 @@ static int process_style(ASS_Track *track, char *str) COLORVAL(SecondaryColour) COLORVAL(OutlineColour) // TertiaryColor COLORVAL(BackColour) - // SSA uses BackColour for both outline and shadow - // this will destroy SSA's TertiaryColour, but i'm not going to use it anyway - if (track->track_type == TRACK_TYPE_SSA) - target->OutlineColour = target->BackColour; + // SSA uses BackColour for both outline and shadow + // this will destroy SSA's TertiaryColour, but i'm not going to use it anyway + if (track->track_type == TRACK_TYPE_SSA) + target->OutlineColour = target->BackColour; FPVAL(FontSize) INTVAL(Bold) INTVAL(Italic) @@ -536,13 +536,13 @@ static int process_style(ASS_Track *track, char *str) FPVAL(Angle) INTVAL(BorderStyle) INTVAL(Alignment) - if (track->track_type == TRACK_TYPE_ASS) - target->Alignment = numpad2align(target->Alignment); - // VSFilter compatibility - else if (target->Alignment == 8) - target->Alignment = 3; - else if (target->Alignment == 4) - target->Alignment = 11; + if (track->track_type == TRACK_TYPE_ASS) + target->Alignment = numpad2align(target->Alignment); + // VSFilter compatibility + else if (target->Alignment == 8) + target->Alignment = 3; + else if (target->Alignment == 4) + target->Alignment = 11; INTVAL(MarginL) INTVAL(MarginR) INTVAL(MarginV) |