[Igarden-commit] Garden/source/Document ClientDocument.cpp, 1.6.2.10, 1.6.2.11
Status: Beta
Brought to you by:
jlbedell
|
From: Jeffrey B. <jlb...@us...> - 2008-04-16 02:50:15
|
Update of /cvsroot/igarden/Garden/source/Document In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv4320/source/Document Modified Files: Tag: Release_branch_v1 ClientDocument.cpp Log Message: Fix newly introduced bug where extra plot got created on file open Index: ClientDocument.cpp =================================================================== RCS file: /cvsroot/igarden/Garden/source/Document/ClientDocument.cpp,v retrieving revision 1.6.2.10 retrieving revision 1.6.2.11 diff -C2 -d -r1.6.2.10 -r1.6.2.11 *** ClientDocument.cpp 11 Apr 2008 10:40:23 -0000 1.6.2.10 --- ClientDocument.cpp 16 Apr 2008 02:50:03 -0000 1.6.2.11 *************** *** 370,374 **** _isNamed = true; ! _layout = new Layout(this); ReadPictureData(inZipFile); --- 370,374 ---- _isNamed = true; ! _layout = new Layout(); ReadPictureData(inZipFile); *************** *** 392,396 **** _isNamed = true; ! _layout = new Layout(this); bytesRead = inFile.Read(sizeof(buf), buf); --- 392,396 ---- _isNamed = true; ! _layout = new Layout(); bytesRead = inFile.Read(sizeof(buf), buf); *************** *** 1088,1092 **** bool found = false; - PRECONDITION(_layout != NULL); if(strcmp(data->GetTag(), "Layout") == 0) { --- 1088,1091 ---- |