]> granicus.if.org Git - libass/commitdiff
directwrite: fix compilation
authorGrigori Goronzy <greg@chown.ath.cx>
Tue, 1 Sep 2015 14:29:49 +0000 (16:29 +0200)
committerwm4 <wm4@nowhere>
Tue, 1 Sep 2015 15:13:39 +0000 (17:13 +0200)
A name clash was introduced by commit ab08d079.

libass/ass_directwrite.c

index 099c1fe869dff21fbf3ae18bef28e1ac10754ed1..333407d3865a6e80b93028defb2315afc0d24372 100644 (file)
@@ -374,7 +374,7 @@ static int encode_utf16(wchar_t *chars, uint32_t codepoint)
     }
 }
 
-static char *get_fallback(void *priv, const char *family, uint32_t codepoint)
+static char *get_fallback(void *priv, const char *base, uint32_t codepoint)
 {
     HRESULT hr;
     ProviderPrivate *provider_priv = (ProviderPrivate *)priv;