fixed issue with resize/move of extended partitions
* src/GParted_Core.cc: fixed issue with resize/move of extended partitions
This commit is contained in:
parent
f0d4890a92
commit
069662588e
|
@ -1,3 +1,8 @@
|
||||||
|
2006-07-23 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||||
|
|
||||||
|
* src/GParted_Core.cc: fixed issue with resize/move of extended
|
||||||
|
partitions
|
||||||
|
|
||||||
2006-07-23 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
2006-07-23 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||||
|
|
||||||
* src/Win_GParted.cc: added FIXME:
|
* src/Win_GParted.cc: added FIXME:
|
||||||
|
|
|
@ -1074,7 +1074,8 @@ bool GParted_Core::resize_move( const Device & device,
|
||||||
{
|
{
|
||||||
//extended is a special case..
|
//extended is a special case..
|
||||||
if ( partition_old .type == GParted::TYPE_EXTENDED )
|
if ( partition_old .type == GParted::TYPE_EXTENDED )
|
||||||
return resize_move_partition( partition_old, partition_new, operation_details ) ;
|
return calculate_exact_geom( partition_old, partition_new, operation_details ) &&
|
||||||
|
resize_move_partition( partition_old, partition_new, operation_details ) ;
|
||||||
|
|
||||||
//see if we need move or resize..
|
//see if we need move or resize..
|
||||||
if ( partition_new .sector_start != partition_old .sector_start )
|
if ( partition_new .sector_start != partition_old .sector_start )
|
||||||
|
|
Loading…
Reference in New Issue