From: simon Date: Sat, 1 Nov 2008 16:34:29 +0000 (+0000) Subject: Fix gormlessness in html.c introduced in r8241. X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/agedu/commitdiff_plain/352f37e2de014cc666d8323167aa887ddf529cdc Fix gormlessness in html.c introduced in r8241. git-svn-id: svn://svn.tartarus.org/sgt/agedu@8244 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/html.c b/html.c index 76a906f..bc9905f 100644 --- a/html.c +++ b/html.c @@ -463,7 +463,7 @@ char *html_query(const void *t, unsigned long index, q = p + 1; if (doing_href) htprintf(ctx, ""); - htescape(ctx, q, p - q, 1); + htescape(ctx, p, 1, 1); } htescape(ctx, q, strlen(q), 1); htprintf(ctx, "\n");