Fossil SCM
Fix a timeline bug, showing an unintended arrow when closing a fork.
Commit
f16e1a0eab404fcb835983c6d2049e7450dd2fbc
Parent
5cdaeb0d822d3ae…
1 file changed
+1
-1
+1
-1
| --- src/graph.c | ||
| +++ src/graph.c | ||
| @@ -474,11 +474,11 @@ | ||
| 474 | 474 | for(pRow=p->pLast; pRow; pRow=pRow->pPrev){ |
| 475 | 475 | int parentRid; |
| 476 | 476 | |
| 477 | 477 | if( pRow->iRail>=0 ){ |
| 478 | 478 | if( pRow->pChild==0 && !pRow->timeWarp ){ |
| 479 | - if( omitDescenders || pRow->isLeaf ){ | |
| 479 | + if( omitDescenders || count_nonbranch_children(pRow->rid)==0 ){ | |
| 480 | 480 | /* no-op */ |
| 481 | 481 | }else{ |
| 482 | 482 | riser_to_top(pRow); |
| 483 | 483 | } |
| 484 | 484 | } |
| 485 | 485 |
| --- src/graph.c | |
| +++ src/graph.c | |
| @@ -474,11 +474,11 @@ | |
| 474 | for(pRow=p->pLast; pRow; pRow=pRow->pPrev){ |
| 475 | int parentRid; |
| 476 | |
| 477 | if( pRow->iRail>=0 ){ |
| 478 | if( pRow->pChild==0 && !pRow->timeWarp ){ |
| 479 | if( omitDescenders || pRow->isLeaf ){ |
| 480 | /* no-op */ |
| 481 | }else{ |
| 482 | riser_to_top(pRow); |
| 483 | } |
| 484 | } |
| 485 |
| --- src/graph.c | |
| +++ src/graph.c | |
| @@ -474,11 +474,11 @@ | |
| 474 | for(pRow=p->pLast; pRow; pRow=pRow->pPrev){ |
| 475 | int parentRid; |
| 476 | |
| 477 | if( pRow->iRail>=0 ){ |
| 478 | if( pRow->pChild==0 && !pRow->timeWarp ){ |
| 479 | if( omitDescenders || count_nonbranch_children(pRow->rid)==0 ){ |
| 480 | /* no-op */ |
| 481 | }else{ |
| 482 | riser_to_top(pRow); |
| 483 | } |
| 484 | } |
| 485 |