"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/Dialog_Rescue_Data.cc" between
gparted-1.2.0.tar.gz and gparted-1.3.0.tar.gz

About: GParted is a graphical partition editor for creating, reorganizing, and deleting disk partitions (using GNU libparted).

Dialog_Rescue_Data.cc  (gparted-1.2.0):Dialog_Rescue_Data.cc  (gparted-1.3.0)
skipping to change at line 438 skipping to change at line 438
Partition * part = new Partition(); Partition * part = new Partition();
part->Set( dev_path, part_path, part_num, part->Set( dev_path, part_path, part_num,
type, fs, sec_start, sec_end, sec_size, false, false ); type, fs, sec_start, sec_end, sec_size, false, false );
this->partitions.push_back_adopt( part ); this->partitions.push_back_adopt( part );
} }
} }
} }
/* /*
* Checks if the guessed partition is overlaping some active partition * Checks if the guessed partition is overlapping some active partition
*/ */
bool Dialog_Rescue_Data::is_overlaping(int nPart) bool Dialog_Rescue_Data::is_overlaping(int nPart)
{ {
bool result=false; bool result=false;
Sector start_sector=this->partitions[nPart].sector_start; Sector start_sector=this->partitions[nPart].sector_start;
Sector end_sector=this->partitions[nPart].sector_end; Sector end_sector=this->partitions[nPart].sector_end;
for(unsigned int j=0;j<this->device->partitions.size();j++) for(unsigned int j=0;j<this->device->partitions.size();j++)
{ {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)