fixed another issue in apply_to_visual(), this time with resizing/moveing
* src/OperationResizeMove.cc: fixed another issue in apply_to_visual(), this time with resizing/moveing the extended partition.
This commit is contained in:
parent
fff2dc4ad3
commit
e5d12906db
|
@ -1,3 +1,9 @@
|
|||
2006-04-01 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||
|
||||
* src/OperationResizeMove.cc: fixed another issue in
|
||||
apply_to_visual(), this time with resizing/moveing the extended
|
||||
partition.
|
||||
|
||||
2006-03-31 Bart Hakvoort <hakvoort@cvs.gnome.org>
|
||||
|
||||
* src/GParted_Core.cc: trivial cleanups
|
||||
|
|
|
@ -119,8 +119,12 @@ void OperationResizeMove::apply_extended_to_visual( std::vector<Partition> & par
|
|||
{
|
||||
remove_adjacent_unallocated( partitions, index_extended ) ;
|
||||
|
||||
partitions[ index_extended ] .sector_start = partition_new .sector_start ;
|
||||
partitions[ index_extended ] .sector_end = partition_new .sector_end ;
|
||||
index_extended = find_index_extended( partitions ) ;
|
||||
if ( index_extended >= 0 )
|
||||
{
|
||||
partitions[ index_extended ] .sector_start = partition_new .sector_start ;
|
||||
partitions[ index_extended ] .sector_end = partition_new .sector_end ;
|
||||
}
|
||||
|
||||
insert_unallocated( partitions, 0, device .length -1, false ) ;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue