summaryrefslogtreecommitdiff
path: root/bk_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'bk_info.c')
-rw-r--r--bk_info.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bk_info.c b/bk_info.c
index 48ad45e..85461c4 100644
--- a/bk_info.c
+++ b/bk_info.c
@@ -316,12 +316,12 @@ void info_backend(paragraph *sourceform, keywordlist *keywords,
char *s;
section = uadv(p->keyword);
- shortname = *section ? uadv(section) : NULL;
- longname = *shortname ? uadv(shortname) : NULL;
- kw = *longname ? uadv(longname) : NULL;
+ shortname = *section ? uadv(section) : L"";
+ longname = *shortname ? uadv(shortname) : L"";
+ kw = *longname ? uadv(longname) : L"";
if (!*longname) {
- error(err_infodirentry, &p->fpos);
+ error(err_cfginsufarg, &p->fpos, p->origkeyword, 3);
continue;
}