timekeeper

[Abandoned unfinished] CGI web application in C for time tracking. (My first, just a learning project)
Log | Files | Refs | README

commit 305ff08d9b5d328f1bc540dc57848c19e0174428
parent 88831cf09c62318f09b46b3058733ff999856b7b
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Thu, 21 Mar 2024 11:16:09 -0700

Close <nav> in tk_header

Diffstat:
Mpages/common.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pages/common.c b/pages/common.c @@ -38,13 +38,14 @@ tk_header(struct pagedata *pd) strcpy(namebuf, url); namebuf[0] = toupper(namebuf[0]); } + if ((status = khtml_elem(&pd->html, KELEM_LI)) != KCGI_OK || (status = htmllink(pd, url, namebuf)) != KCGI_OK || (status = khtml_closeelem(&pd->html, 1)) != KCGI_OK) return status; } - return khtml_closeelem(&pd->html, 1); + return khtml_closeelem(&pd->html, 2); } enum kcgi_err