summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2014-09-04 18:38:14 +0200
committerVicent Marti <tanoku@gmail.com>2014-09-09 03:39:16 +0200
commit543c2c94d71adee42c7bd2f8027d75c87ed8120d (patch)
treedb9fb0931f043ba4ebb7c1d8853e2a64d34cdc3c /src/main.c
parent3ec98f55bd78572195f355a2ccb891df1c91b798 (diff)
Rename to strbuf
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index e1abedc..7cf67e2 100644
--- a/src/main.c
+++ b/src/main.c
@@ -14,14 +14,14 @@ void print_usage()
static void print_document(block *document, bool ast)
{
- gh_buf html = GH_BUF_INIT;
+ strbuf html = GH_BUF_INIT;
if (ast) {
print_blocks(document, 0);
} else {
blocks_to_html(&html, document, false);
printf("%s", html.ptr);
- gh_buf_free(&html);
+ strbuf_free(&html);
}
}