]> granicus.if.org Git - libass/commit
fontselect: fix bool return values
authorOleg Oshmyan <chortos@inbox.lv>
Tue, 1 Dec 2015 15:18:43 +0000 (17:18 +0200)
committerOleg Oshmyan <chortos@inbox.lv>
Tue, 1 Dec 2015 15:18:43 +0000 (17:18 +0200)
commit54a59dca6ef8bc3de126cea68a39a90baa46c9cd
tree07749fac36f0300198169ab8befa05e00091cf77
parent99fd1f372567330445806457b834aeb0882ea3be
fontselect: fix bool return values

Return true on success and false on failure.

get_font_info was actually inconsistent, returning false both
on success and on failure due to the face not being scalable.
libass/ass_fontselect.c