diff options
author | Oleg Oshmyan <chortos@inbox.lv> | 2015-10-21 01:04:10 +0300 |
---|---|---|
committer | Oleg Oshmyan <chortos@inbox.lv> | 2015-10-23 02:36:53 +0300 |
commit | c03ca8b8e0124ab6149b602d35693b8c65d59865 (patch) | |
tree | e7d0d45b997f2c642b4412f9d4d4347eb66ac16d | |
parent | e00691e8096cc69e5651480155ebc61d9e079290 (diff) | |
download | libass-c03ca8b8e0124ab6149b602d35693b8c65d59865.tar.bz2 libass-c03ca8b8e0124ab6149b602d35693b8c65d59865.tar.xz |
directwrite: fix broken return value check
-rw-r--r-- | libass/ass_directwrite.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_directwrite.c b/libass/ass_directwrite.c index 8388f1c..13e20a3 100644 --- a/libass/ass_directwrite.c +++ b/libass/ass_directwrite.c @@ -335,7 +335,7 @@ static int check_glyph(void *data, uint32_t code) if (code == 0) return 1; - IDWriteFont_HasCharacter(priv->font, code, &exists); + hr = IDWriteFont_HasCharacter(priv->font, code, &exists); if (FAILED(hr)) return 0; |