From d1140db2972796f190b64d0b59698d44df4c23fd Mon Sep 17 00:00:00 2001 From: the little girl Date: Fri, 13 Dec 2013 17:29:23 +0100 Subject: =?UTF-8?q?hack=20for=20=C3=A5=20fikse=20namespacebug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wiki.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wiki.c b/wiki.c index f06f468..04d1fd9 100644 --- a/wiki.c +++ b/wiki.c @@ -36,8 +36,10 @@ void head(char *page, char *link, char *what) { printf("\n"); printf("%s ยท %s\n", title, page); printf("\n", base); - if(link && what) + if(link && what && !strcmp(what, "rediger")) printf("

%s

\n", what, link, page); + else if(link && what) + printf("

%s

\n", what, base, link, page); else printf("

%s

\n", page); } -- cgit v1.0