summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2006-12-11 19:43:10 +0000
committerSimon Tatham <anakin@pobox.com>2006-12-11 19:43:10 +0000
commit7a4700f5f5afcea1580ec4fcfb628afe6beb3e6b (patch)
treef12b714c11a7d71c40462b05ebcf03ff8b6aa7f0 /error.c
parent490fa6c766aece7ea7cd0cf11ee10c2b37efc386 (diff)
downloadhalibut-7a4700f5f5afcea1580ec4fcfb628afe6beb3e6b.zip
halibut-7a4700f5f5afcea1580ec4fcfb628afe6beb3e6b.tar.gz
halibut-7a4700f5f5afcea1580ec4fcfb628afe6beb3e6b.tar.bz2
halibut-7a4700f5f5afcea1580ec4fcfb628afe6beb3e6b.tar.xz
Support for the MS HTML Help system in the HTML back end. As yet I
don't know how to write out a .CHM directly, but I am at least able to have the HTML back end write out the three auxiliary files which enable a .CHM to be generated using the MS HTML Help compiler. [originally from svn r6991]
Diffstat (limited to 'error.c')
-rw-r--r--error.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/error.c b/error.c
index 2dae220..7fe97ec 100644
--- a/error.c
+++ b/error.c
@@ -333,9 +333,14 @@ static void do_error(int code, va_list ap) {
case err_pfnoafm:
fpos = *va_arg(ap, filepos *);
sp = va_arg(ap, char *);
- sprintf(error, "No metrics available for Type 1 font '%.200s'", sp);
+ sprintf(error, "no metrics available for Type 1 font '%.200s'", sp);
flags = FILEPOS;
break;
+ case err_chmnames:
+ sprintf(error, "only one of html-mshtmlhelp-chm and "
+ "html-mshtmlhelp-hhp found");
+ flags = PREFIX;
+ break;
case err_whatever:
sp = va_arg(ap, char *);
vsprintf(error, sp, ap);