diff --git a/ChangeLog b/ChangeLog index 72adc2e5..185d225e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-08-08 Bart Hakvoort + + * src/Dialog_Partition_Resize_Move.cc: fixed small issue with + shrinking of a new (virtual) partition + 2006-08-08 Bart Hakvoort * implemented some stuff to find a good blocksize to use for diff --git a/src/Dialog_Partition_Resize_Move.cc b/src/Dialog_Partition_Resize_Move.cc index 89d844cf..7e46e4c1 100644 --- a/src/Dialog_Partition_Resize_Move.cc +++ b/src/Dialog_Partition_Resize_Move.cc @@ -61,8 +61,8 @@ void Dialog_Partition_Resize_Move::Set_Data( const Partition & selected_partitio void Dialog_Partition_Resize_Move::Resize_Move_Normal( const std::vector & partitions ) { - //little bit of paranoia ;)//FIXME: partition with STAT_NEW should not be restricted ;) - if ( selected_partition .sectors_used == -1 ) + //little bit of paranoia ;) + if ( selected_partition .sectors_used == -1 && selected_partition .status != STAT_NEW ) fs .shrink = GParted::FS::NONE ; //see if we need a fixed_start