Fossil SCM

A merge riser is allowed to ride along side a riser to an off-screen node.

drh 2011-03-15 01:44 trunk
Commit 52ea66df56e3ddf88afadce4e475a576758afa81
1 file changed +1 -1
+1 -1
--- src/graph.c
+++ src/graph.c
@@ -273,11 +273,11 @@
273273
u32 mask;
274274
GraphRow *pLoop;
275275
276276
if( pParent->mergeOut<0 ){
277277
u = pParent->aiRiser[pParent->iRail];
278
- if( u>0 && u<pChild->idx ){
278
+ if( u>=0 && u<pChild->idx ){
279279
/* The thick arrow up to the next primary child of pDesc goes
280280
** further up than the thin merge arrow riser, so draw them both
281281
** on the same rail. */
282282
pParent->mergeOut = pParent->iRail*4;
283283
if( pParent->iRail<pChild->iRail ) pParent->mergeOut += 2;
284284
--- src/graph.c
+++ src/graph.c
@@ -273,11 +273,11 @@
273 u32 mask;
274 GraphRow *pLoop;
275
276 if( pParent->mergeOut<0 ){
277 u = pParent->aiRiser[pParent->iRail];
278 if( u>0 && u<pChild->idx ){
279 /* The thick arrow up to the next primary child of pDesc goes
280 ** further up than the thin merge arrow riser, so draw them both
281 ** on the same rail. */
282 pParent->mergeOut = pParent->iRail*4;
283 if( pParent->iRail<pChild->iRail ) pParent->mergeOut += 2;
284
--- src/graph.c
+++ src/graph.c
@@ -273,11 +273,11 @@
273 u32 mask;
274 GraphRow *pLoop;
275
276 if( pParent->mergeOut<0 ){
277 u = pParent->aiRiser[pParent->iRail];
278 if( u>=0 && u<pChild->idx ){
279 /* The thick arrow up to the next primary child of pDesc goes
280 ** further up than the thin merge arrow riser, so draw them both
281 ** on the same rail. */
282 pParent->mergeOut = pParent->iRail*4;
283 if( pParent->iRail<pChild->iRail ) pParent->mergeOut += 2;
284

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button