diff options
author | wm4 <wm4@nowhere> | 2015-09-01 14:18:51 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-09-01 14:18:51 +0200 |
commit | ab08d0799f82a64d80a2ba124b5308b07681adc4 (patch) | |
tree | 8f968fc8180f471aec5762f252fc6321b1912bae /libass/ass_directwrite.c | |
parent | 888c644420b138875bf5e9f956d926b0be784eae (diff) | |
download | libass-ab08d0799f82a64d80a2ba124b5308b07681adc4.tar.bz2 libass-ab08d0799f82a64d80a2ba124b5308b07681adc4.tar.xz |
fontselect: simplify get_fallback signature
Apparently we only need the font family (and even that isn't used in all
font providers). Drop the others.
Diffstat (limited to 'libass/ass_directwrite.c')
-rw-r--r-- | libass/ass_directwrite.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libass/ass_directwrite.c b/libass/ass_directwrite.c index 1ef0616..099c1fe 100644 --- a/libass/ass_directwrite.c +++ b/libass/ass_directwrite.c @@ -374,8 +374,7 @@ static int encode_utf16(wchar_t *chars, uint32_t codepoint) } } -static char *get_fallback(void *priv, ASS_FontProviderMetaData *meta, - uint32_t codepoint) +static char *get_fallback(void *priv, const char *family, uint32_t codepoint) { HRESULT hr; ProviderPrivate *provider_priv = (ProviderPrivate *)priv; |