diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2013-06-06 02:40:37 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2013-06-06 02:40:37 +0000 |
commit | 4c8e38c971341b397721f565e4dae22d4bf19a48 (patch) | |
tree | 3e3775330b6ebd493096d881b32432835ed5f597 | |
parent | 92044c46d88e37285b76bfb4a56d9f63b52bd377 (diff) | |
download | mandoc-4c8e38c971341b397721f565e4dae22d4bf19a48.tar.gz |
In parse_catpage(), the comment saying that the filename would be
used as a default page description if no usable NAME section was found
was preserved when moving from db to sqlite, but the code line actually
doing that was removed without replacement. So, put it back.
-rw-r--r-- | mandocdb.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1101,6 +1101,7 @@ parse_catpage(struct of *of) if (NULL == title || '\0' == *title) { if (warnings) say(of->file, "Cannot find NAME section"); + putkey(of, of->name, TYPE_Nd); fclose(stream); free(title); return; |