idiotbox-c

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

commit 868362bea6c5dbb0d65cd74acd0d3bc26b0d60b5
parent 1dffbfd415cf85f123981c13925a3a3b0f400661
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Thu, 28 Jun 2018 20:38:52 +0200

improve HTML

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

diff --git a/main.c b/main.c @@ -825,9 +825,9 @@ render(void) OUT( "<tfoot>\n" "<tr>\n" - " <td align=\"left\" class=\"nowrap\" nowrap>\n"); + "\t<td align=\"left\" class=\"nowrap\" nowrap>\n"); if (prevpagetoken[0]) { - OUT("<a href=\"?q="); + OUT("\t\t<a href=\"?q="); xmlencode(search); OUT("&amp;next="); xmlencode(prevpagetoken); @@ -841,7 +841,7 @@ render(void) "\t</td>\n\t<td></td>\n" "\t<td align=\"right\" nowrap class=\"a-r nowrap\">\n"); if (nextpagetoken[0]) { - OUT("<a href=\"?q="); + OUT("\t\t<a href=\"?q="); xmlencode(search); OUT("&amp;next="); xmlencode(nextpagetoken); @@ -951,7 +951,6 @@ main(void) free(data); show: - render(); return 0;