Diff options
authorTim Chen <timchen1@gmail.com>
committerLars Hjemli <hjemli@gmail.com>
commit
parent
tree
download
Fix diff mode switching when side-by-side-diffs=1
When side-by-side-diffs=1 was set in cgitrc, specyfing 'ss=0' in the query- string would not switch to unified diffs. This patch fixes the issue by introducing a separate variable to track the occurrence of "ss" in the querystring.
Diffstat (limited to 'ui-diff.c')
-rw-r--r--ui-diff.c3
1 file changed, 1 insertion, 2 deletions