From: fennecdjay Date: Mon, 25 Sep 2023 09:15:54 +0000 (+0200) Subject: :bug: fix cdod X-Git-Tag: nightly~135 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=cbdd60985e00214f7df6bc9db53eae59e5fff6c8;p=gwion.git :bug: fix cdod --- 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;