diff options
| author | Simon Tatham <anakin@pobox.com> | 2004-03-25 18:32:05 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2004-03-25 18:32:05 +0000 |
| commit | 2c5767ab6e1ea37c190be1da007cc015a5d3a7ed (patch) | |
| tree | 04b7e27edba17f8a954439376e444d1925676b38 /error.c | |
| parent | e5650a35b3ee30edc4288fba5c1e21cc29247fdc (diff) | |
| download | halibut-2c5767ab6e1ea37c190be1da007cc015a5d3a7ed.zip halibut-2c5767ab6e1ea37c190be1da007cc015a5d3a7ed.tar.gz halibut-2c5767ab6e1ea37c190be1da007cc015a5d3a7ed.tar.bz2 halibut-2c5767ab6e1ea37c190be1da007cc015a5d3a7ed.tar.xz | |
Add a \quote{...} directive, working like <blockquote> in HTML.
[originally from svn r3978]
Diffstat (limited to 'error.c')
| -rw-r--r-- | error.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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: |