From cbdd60985e00214f7df6bc9db53eae59e5fff6c8 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Mon, 25 Sep 2023 11:15:54 +0200 Subject: [PATCH] :bug: fix cdod --- src/import/import_internals.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/import/import_internals.c b/src/import/import_internals.c index 8b670e7c..6a7e148d 100644 --- a/src/import/import_internals.c +++ b/src/import/import_internals.c @@ -32,7 +32,7 @@ ANN void gwi_reset(const Gwi gwi) { ANN static m_bool run_with_doc(const Gwi gwi, m_bool (*f)(const Gwi)) { struct GwfmtState ls = {.builtin = true, .nindent = 4}; text_init(&ls.text, gwi->gwion->mp); - Gwfmt gwfmter = {.mp = gwi->gwion->mp, .ls = &ls }; + Gwfmt gwfmter = {.mp = gwi->gwion->mp, .ls = &ls, .st = gwi->gwion->st }; gwfmt_indent(&gwfmter); gwfmt_util(&gwfmter, "{-}#!+ %s{0}\n", gwi->gwion->env->name); gwi->gwfmt = &gwfmter; -- 2.43.0