diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-05-04 17:17:32 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-05-04 17:17:32 +0200 |
| commit | f3f9aa31dc86582ed1a7ddc64bdeebeb213add7a (patch) | |
| tree | 3ba16bfd945afb12a1569ce6dda5a2b915b6a0b7 /examples | |
| parent | 8dc9a978fc2b0d01c20270b1b690e815e74fdcc7 (diff) | |
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/main.c b/examples/main.c index 2b3c3ca..6ab775f 100644 --- a/examples/main.c +++ b/examples/main.c @@ -18,7 +18,7 @@ void foo(char *v) { return; } uint8_t code; - char *res = typdown_renderHTML(doc, &code); + char *res = typdown_renderHTML(doc.root, &code); if (code != 0) { printf("cannot render '%s', error: %s (%d)\n", v, typdown_getErrorString(code), code); typdown_free(doc); |
