X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/halibut/blobdiff_plain/a21240a984ff343f876a4897ab0310eb38304fe7..refs/heads/master:/bk_text.c diff --git a/bk_text.c b/bk_text.c index e323802..315317f 100644 --- a/bk_text.c +++ b/bk_text.c @@ -328,7 +328,7 @@ void text_backend(paragraph *sourceform, keywordlist *keywords, else tf.fp = fopen(conf.filename, "w"); if (!tf.fp) { - error(err_cantopenw, conf.filename); + err_cantopenw(conf.filename); return; } tf.charset = conf.charset; @@ -752,7 +752,7 @@ static void text_codepara(textfile *tf, word *text, int indent, int width) { for (; text; text = text->next) if (text->type == word_WeakCode) { int wid = ustrwid(text->text, tf->charset); if (wid > width) - error(err_text_codeline, &text->fpos, wid, width); + err_text_codeline(&text->fpos, wid, width); text_output_many(tf, indent, L' '); text_output(tf, text->text); text_output(tf, L"\n");