mapcenterobj.cpp
changeset 95 f688a9913724
parent 91 855c486b9360
child 164 d442a66e9121
     1.1 --- a/mapcenterobj.cpp	Sat Apr 09 22:50:08 2005 +0000
     1.2 +++ b/mapcenterobj.cpp	Mon Apr 18 06:17:00 2005 +0000
     1.3 @@ -151,15 +151,20 @@
     1.4  	if (!note.isEmpty() )
     1.5  		s+=note.saveToDir();
     1.6  	
     1.7 +	// Save branches
     1.8 +    BranchObj *bo;
     1.9 +    for (bo=branch.first(); bo; bo=branch.next() )
    1.10 +		s+=bo->saveToDir(tmpdir,prefix, offset);
    1.11 +
    1.12  	// Save FloatImages
    1.13  	FloatImageObj *fio;
    1.14  	for (fio=floatimage.first(); fio; fio=floatimage.next() )
    1.15  		s+=fio->saveToDir (tmpdir,prefix);
    1.16  
    1.17 -	// Save branches
    1.18 -    BranchObj *bo;
    1.19 -    for (bo=branch.first(); bo; bo=branch.next() )
    1.20 -		s+=bo->saveToDir(tmpdir,prefix, offset);
    1.21 +	// Save XLinks
    1.22 +	XLinkObj *xlo;
    1.23 +    for (xlo=xlink.first(); xlo; xlo=xlink.next() )
    1.24 +		s+=xlo->saveToDir();
    1.25  
    1.26      decIndent();
    1.27      s+=endElement   ("mapcenter");