summaryrefslogtreecommitdiff
path: root/bk_whlp.c
diff options
context:
space:
mode:
Diffstat (limited to 'bk_whlp.c')
-rw-r--r--bk_whlp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bk_whlp.c b/bk_whlp.c
index d15d029..6fb1312 100644
--- a/bk_whlp.c
+++ b/bk_whlp.c
@@ -217,7 +217,7 @@ void whlp_backend(paragraph *sourceform, keywordlist *keywords,
state.cntfp = fopen(cntname, "wb");
if (!state.cntfp) {
- error(err_cantopenw, cntname);
+ err_cantopenw(cntname);
return;
}
state.cnt_last_level = -1; state.cnt_workaround = 0;
@@ -244,7 +244,7 @@ void whlp_backend(paragraph *sourceform, keywordlist *keywords,
p->private_data = whlp_register_topic(h, rs.text, &errstr);
if (!p->private_data) {
p->private_data = whlp_register_topic(h, NULL, NULL);
- error(err_winhelp_ctxclash, &p->fpos, rs.text, errstr);
+ err_winhelp_ctxclash(&p->fpos, rs.text, errstr);
}
sfree(rs.text);
}