aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--cgi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgi.c b/cgi.c
index 2f5870ff..c09acb8e 100644
--- a/cgi.c
+++ b/cgi.c
@@ -1,4 +1,4 @@
-/* $Id: cgi.c,v 1.42 2012/03/24 01:46:25 kristaps Exp $ */
+/* $Id: cgi.c,v 1.43 2012/03/25 00:46:39 kristaps Exp $ */
/*
* Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -743,7 +743,7 @@ format(const struct req *req, const char *file)
}
snprintf(opts, sizeof(opts), "fragment,"
- "man=%s/search.html?sec=%%S&expr=%%N,"
+ "man=%s/search.html?sec=%%S&expr=Nm~^%%N$,"
/*"includes=/cgi-bin/man.cgi/usr/include/%%I"*/,
progname);