From 8461bf5d84dc103f5d6037fd537e0e421f2292cb Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 14:16:39 -0700 Subject: Drop the hidden form fields' unused page argument --- source/ui-diff.c | 2 +- source/ui-shared.c | 6 +++--- source/ui-shared.h | 2 +- source/ui-stats.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/source/ui-diff.c b/source/ui-diff.c index 51df73d..315a8f0 100644 --- a/source/ui-diff.c +++ b/source/ui-diff.c @@ -531,7 +531,7 @@ void cgit_print_diff_ctrls(void) html("
\n"); html("Diff options"); html("
"); - cgit_add_hidden_formfields(1, 0, ctx.qry.page); + cgit_add_hidden_formfields(1, 0); html("
"); html(""); html("\n"); @@ -528,7 +528,7 @@ static void print_repo_search(void) html("\n"); - cgit_add_hidden_formfields(1, 0, "log"); + cgit_add_hidden_formfields(1, 0); html("