summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 67d3bea)
raw | patch | inline | side by side (parent: 67d3bea)
author | Jonas Fonseca <fonseca@diku.dk> | |
Wed, 24 May 2006 14:56:52 +0000 (16:56 +0200) | ||
committer | Jonas Fonseca <fonseca@antimatter.localdomain> | |
Wed, 24 May 2006 14:56:52 +0000 (16:56 +0200) |
tig.c | patch | blob | history |
index 7fca9a875057e7e5fc5e397fae046157348ae9f4..b0f53821742eb6d5ef60ea8407b5f2ca72f72588 100644 (file)
--- a/tig.c
+++ b/tig.c
{
int split = 0;
- if ((view == VIEW(REQ_VIEW_LOG) ||
- view == VIEW(REQ_VIEW_PAGER)) &&
- line->type == LINE_COMMIT) {
+ if (line->type == LINE_COMMIT &&
+ (view == VIEW(REQ_VIEW_LOG) ||
+ view == VIEW(REQ_VIEW_PAGER))) {
open_view(view, REQ_VIEW_DIFF, OPEN_SPLIT);
split = 1;
}