From dd1226494657def42ff4c658827dab384094e18a Mon Sep 17 00:00:00 2001 From: nds Date: Wed, 14 Nov 2007 13:10:21 +0000 Subject: [PATCH] Undo changes. --- src/SUIT/SUIT_TreeSync.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SUIT/SUIT_TreeSync.h b/src/SUIT/SUIT_TreeSync.h index 7bd6807bb..ccceeaa0c 100644 --- a/src/SUIT/SUIT_TreeSync.h +++ b/src/SUIT/SUIT_TreeSync.h @@ -151,14 +151,14 @@ TrgItem synchronize( const SrcItem& r1, const TrgItem& r2, const TreeData& td ) } else { TrgItem new_r2 = td.nullTrg(); - /*if ( r1 != td.nullSrc() ) { + if ( r1 != td.nullSrc() ) { // add new item (recursively) new_r2 = createSubTree( r1, td.parent( r2 ), r2, td ); } if ( r2 != td.nullTrg() ) { // delete old one (if it is not null) td.deleteItemWithChildren( r2 ); - }*/ + } return new_r2; } } -- 2.39.2