summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ui-shared.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui-shared.c b/ui-shared.c
index 9ab6409..657e8af 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -127,7 +127,7 @@ static char *repolink(char *title, char *class, char *page, char *head,
html_attr(path);
delim = "&";
}
- if (head && head != cgit_query_head) {
+ if (head && strcmp(head, cgit_query_head)) {
html(delim);
html("h=");
html_attr(head);
@@ -142,7 +142,7 @@ void cgit_tree_link(char *name, char *title, char *class, char *head,
char *delim;
delim = repolink(title, class, "tree", head, path);
- if (rev && rev != cgit_query_head) {
+ if (rev && strcmp(rev, cgit_query_head)) {
html(delim);
html("id=");
html_attr(rev);
lalchemyRené 'Necoro' Neumann2-3/+6 2020-01-11Update Flask URLRené 'Necoro' Neumann1-1/+1 2020-01-11Increase copyrightRené 'Necoro' Neumann1-1/+1 2017-02-12Incorporate API changesRené 'Necoro' Neumann3-6/+6 2017-02-12Migrate flask.ext.foo to flask_fooRené 'Necoro' Neumann3-4/+4 2017-02-12Enable debugging for manage.shRené 'Necoro' Neumann1-1/+1 2017-02-12No need for flask-script anymore; flask provides this out of the boxRené 'Necoro' Neumann3-28/+17 2017-02-12No need for flask-sqlalchemy to track modifications and send eventsRené 'Necoro' Neumann1-0/+1 2017-02-12FixRené 'Necoro' Neumann1-1/+1 2016-07-08Constant -> KonstantRené 'Necoro' Neumann1-1/+1 2016-07-052to3 fixed too muchRené 'Necoro' Neumann1-1/+1 2016-07-052to3 conversionRené 'Necoro' Neumann12-42/+42 2016-07-05First batch of py3 changesRené 'Necoro' Neumann7-8/+7 2016-05-01Removed base 'Expense' class; introduce CategoryModel insteadRené 'Necoro' Neumann1-6/+7 2016-05-01Ignore .pyoRené 'Necoro' Neumann1-0/+1