diff options
author | Grigori Goronzy <greg@chown.ath.cx> | 2015-06-13 16:25:41 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@chown.ath.cx> | 2015-07-10 10:43:16 +0200 |
commit | 832d57bf22426982bce1ffbf69121afb887b1cb6 (patch) | |
tree | 7255e9c571e612ff858bcca0e4fb930c5f315dc0 /libass | |
parent | aa01b5537785ce57a6359f50cb24f4552058a290 (diff) | |
download | libass-832d57bf22426982bce1ffbf69121afb887b1cb6.tar.bz2 libass-832d57bf22426982bce1ffbf69121afb887b1cb6.tar.xz |
fontselect: fix oblique/italic mixup
The constants were swapped. In some cases this lead to incorrect matching.
Diffstat (limited to 'libass')
-rw-r--r-- | libass/ass_parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_parse.c b/libass/ass_parse.c index 9aebf3b..61ba691 100644 --- a/libass/ass_parse.c +++ b/libass/ass_parse.c @@ -121,7 +121,7 @@ void update_font(ASS_Renderer *render_priv) val = render_priv->state.italic; if (val == 1) - val = 110; // italic + val = 100; // italic else if (val <= 0) val = 0; // normal desc.italic = val; |