summaryrefslogtreecommitdiff
path: root/src/preproc/html/pre-html.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/preproc/html/pre-html.cc')
-rw-r--r--src/preproc/html/pre-html.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/preproc/html/pre-html.cc b/src/preproc/html/pre-html.cc
index 59399f48..b41a34e1 100644
--- a/src/preproc/html/pre-html.cc
+++ b/src/preproc/html/pre-html.cc
@@ -287,7 +287,7 @@ make_message (const char *fmt, ...)
strcpy(np, p);
strcat(np, s);
strcat(np, l);
- search += strlen(s)-2;
+ search += strlen(s);
break;
case '%':
/* remove one of the two % that we have seen */