diff options
Diffstat (limited to 'src/directives.c')
-rw-r--r-- | src/directives.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/directives.c b/src/directives.c index b538825..eb6166b 100644 --- a/src/directives.c +++ b/src/directives.c @@ -12,9 +12,9 @@ #include <string.h> -#include "utils/utils.h" #include "directives.h" #include "error.h" +#include "utils.h" const static blogc_directive_t registry[] = { @@ -48,11 +48,11 @@ blogc_directive_youtube(blogc_directive_ctx_t *ctx, blogc_error_t **err) return NULL; } - char *width = b_trie_lookup(ctx->params, "width"); - char *height = b_trie_lookup(ctx->params, "height"); + char *width = sb_trie_lookup(ctx->params, "width"); + char *height = sb_trie_lookup(ctx->params, "height"); // using default 16:9 sizes provided by youtube as of 2015-11-04 - return b_strdup_printf( + return sb_strdup_printf( "<iframe width=\"%s\" height=\"%s\" " "src=\"https://www.youtube.com/embed/%s\" frameborder=\"0\" " "allowfullscreen></iframe>%s", |