diff options
Diffstat (limited to 'ui-shared.c')
| -rw-r--r-- | ui-shared.c | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/ui-shared.c b/ui-shared.c index 68e0d7c..6243d1b 100644 --- a/ui-shared.c +++ b/ui-shared.c  | |||
| @@ -346,9 +346,9 @@ void cgit_commit_link(char *name, const char *title, const char *class, | |||
| 346 | html_url_arg(rev); | 346 | html_url_arg(rev); | 
| 347 | delim = "&"; | 347 | delim = "&"; | 
| 348 | } | 348 | } | 
| 349 | if (ctx.qry.ssdiff) { | 349 | if (ctx.qry.difftype) { | 
| 350 | html(delim); | 350 | html(delim); | 
| 351 | html("ss=1"); | 351 | htmlf("dt=%d", ctx.qry.difftype); | 
| 352 | delim = "&"; | 352 | delim = "&"; | 
| 353 | } | 353 | } | 
| 354 | if (ctx.qry.context > 0 && ctx.qry.context != 3) { | 354 | if (ctx.qry.context > 0 && ctx.qry.context != 3) { | 
| @@ -402,9 +402,9 @@ void cgit_diff_link(const char *name, const char *title, const char *class, | |||
| 402 | html_url_arg(old_rev); | 402 | html_url_arg(old_rev); | 
| 403 | delim = "&"; | 403 | delim = "&"; | 
| 404 | } | 404 | } | 
| 405 | if (ctx.qry.ssdiff) { | 405 | if (ctx.qry.difftype) { | 
| 406 | html(delim); | 406 | html(delim); | 
| 407 | html("ss=1"); | 407 | htmlf("dt=%d", ctx.qry.difftype); | 
| 408 | delim = "&"; | 408 | delim = "&"; | 
| 409 | } | 409 | } | 
| 410 | if (ctx.qry.context > 0 && ctx.qry.context != 3) { | 410 | if (ctx.qry.context > 0 && ctx.qry.context != 3) { | 
