idiotbox

youtube scraping and interfaces: CGI, Gopher, CLI
Log | Files | Refs | README | LICENSE

commit 916820e3dc792b10711a39b208c5871b025a382b
parent d10243c22f062c08b10bf2e59adefda40e1293fb
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat, 29 Dec 2018 21:31:27 +0100

fix pagination

Diffstat:
Mmain.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c @@ -382,7 +382,7 @@ render(void) "<tfoot>\n" "<tr>\n" "\t<td align=\"left\" class=\"nowrap\" nowrap>\n"); - if (curpage > 0) { + if (curpage > 1) { OUT("\t\t<a href=\"?q="); xmlencode(search); OUT("&amp;page=");