author | Lars Hjemli <hjemli@gmail.com> | 2009-08-24 05:42:03 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2009-08-24 08:22:58 (UTC) |
commit | e01229cf80bc618a132d2154c0ebd71792d31c64 (patch) (side-by-side diff) | |
tree | 62aa3f02166f7f4b6cdf866a4916b53921ed3ecf /cgit.c | |
parent | 74061ed5f03e72796450aa3b8ca1cf6ced5d59e2 (diff) | |
download | cgit-e01229cf80bc618a132d2154c0ebd71792d31c64.zip cgit-e01229cf80bc618a132d2154c0ebd71792d31c64.tar.gz cgit-e01229cf80bc618a132d2154c0ebd71792d31c64.tar.bz2 |
ui-repolist: handle empty sections similar to NULL sections
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -271,2 +271,3 @@ static void prepare_context(struct cgit_context *ctx) ctx->cfg.script_name = CGIT_SCRIPT_NAME; + ctx->cfg.section = ""; ctx->cfg.summary_branches = 10; |