diff options
Diffstat (limited to '')
-rw-r--r-- | libskrift_create_context.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libskrift_create_context.c b/libskrift_create_context.c index 672a667..2528221 100644 --- a/libskrift_create_context.c +++ b/libskrift_create_context.c @@ -18,10 +18,12 @@ static const struct libskrift_rendering default_rendering = LIBSKRIFT_DEFAULT_RE int libskrift_create_context(LIBSKRIFT_CONTEXT **ctxp, LIBSKRIFT_FONT **fonts, size_t nfonts, double height, - const struct libskrift_rendering *rendering) + const struct libskrift_rendering *rendering, void *caching) { size_t i; + (void) caching; + if (!nfonts) { errno = EINVAL; return -1; |