From 2c5767ab6e1ea37c190be1da007cc015a5d3a7ed Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Thu, 25 Mar 2004 18:32:05 +0000 Subject: Add a \quote{...} directive, working like
in HTML. [originally from svn r3978] --- error.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'error.c') diff --git a/error.c b/error.c index e9c681a..bf16504 100644 --- a/error.c +++ b/error.c @@ -194,9 +194,11 @@ static void do_error(int code, va_list ap) { sprintf(error, "\\lcont is only expected after a list item"); flags = FILEPOS; break; - case err_sectmarkerinlcont: + case err_sectmarkerinblock: fpos = *va_arg(ap, filepos *); - sprintf(error, "section headings are not supported within \\lcont"); + sp = va_arg(ap, char *); + sprintf(error, "section headings are not supported within \\%.100s", + sp); flags = FILEPOS; break; case err_whatever: -- cgit v1.1