From: schwarze Date: Thu, 24 Jul 2014 08:25:45 +0000 (+0000) Subject: Provide a dropdown entry "All Architectures" and make it the default. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=be14a32a58bb666b4d702457bfbd4414309bc62b;p=openbsd Provide a dropdown entry "All Architectures" and make it the default. Still, amd64 remains the default in the following sense: If a man(1) mode search returns more than one page of the same name, prefer amd64 over other architectures for immediate display. ok deraadt@ daniel@ --- diff --git a/usr.bin/mandoc/cgi.c b/usr.bin/mandoc/cgi.c index 970c256972d..bc474a6b930 100644 --- a/usr.bin/mandoc/cgi.c +++ b/usr.bin/mandoc/cgi.c @@ -1,4 +1,4 @@ -/* $Id: cgi.c,v 1.20 2014/07/22 18:14:05 schwarze Exp $ */ +/* $Id: cgi.c,v 1.21 2014/07/24 08:25:45 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons * Copyright (c) 2014 Ingo Schwarze @@ -418,7 +418,11 @@ resp_searchform(const struct req *req) /* Write architecture selector. */ - puts("\n" + ""); for (i = 0; i < arch_MAX; i++) { printf("