idiotbox-c

youtube web application in C
git clone git://git.codemadness.org/idiotbox-c
Log | Files | Refs | README | LICENSE

commit 29fee046e4ec8b66f4b996e83fb4eabc3691be72
parent 1a48b97482155f78ba1c7f538c2b5eaaec45652c
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Thu, 28 Jun 2018 20:20:03 +0200

improve HTML

Diffstat:
main.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/main.c b/main.c @@ -739,8 +739,9 @@ render(void) printf(" <option value=\"relevance\"%s>Relevance</option>\n", !strcmp(order, "relevance") ? " selected=\"selected\"" : ""); printf(" <option value=\"title\"%s>Title</option>\n", !strcmp(order, "title") ? " selected=\"selected\"" : ""); printf(" <option value=\"viewCount\"%s>Views</option>\n", !strcmp(order, "viewCount") ? " selected=\"selected\"" : ""); - OUT(" </select>\n" - " <label>Style: </label>\n"); + OUT( + " </select>\n" + " <label>Style: </label>\n"); if (!strcmp(mode, "light")) { OUT(" <a href=\"?m=dark&amp;q=");