diff options
author | Lars Hjemli <hjemli@gmail.com> | 2012-01-03 17:06:58 +0100 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2012-01-03 17:06:58 +0100 |
commit | 04254fa903701943bd45a479a952cc213a5b112a (patch) | |
tree | 5ae865f0cae8505cb54d3360baa256fc684e3bbc /ui-diff.c | |
parent | d96d2c98ebc4c2d3765f5b35c4142e0e828a421b (diff) | |
parent | f2ced535e9f2c2ada7f184735a07a1190a9d810f (diff) | |
download | cgit-04254fa903701943bd45a479a952cc213a5b112a.tar.gz cgit-04254fa903701943bd45a479a952cc213a5b112a.tar.xz |
Merge branch 'stable'
Diffstat (limited to 'ui-diff.c')
-rw-r--r-- | ui-diff.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -395,8 +395,7 @@ void cgit_print_diff(const char *new_rev, const char *old_rev, } } - if ((ctx.qry.ssdiff && !ctx.cfg.ssdiff) || (!ctx.qry.ssdiff && ctx.cfg.ssdiff)) - use_ssdiff = 1; + use_ssdiff = ctx.qry.has_ssdiff ? ctx.qry.ssdiff : ctx.cfg.ssdiff; if (show_ctrls) cgit_print_diff_ctrls(); |