From 069662588e0769094704bf449c8a16a3d4ef2d97 Mon Sep 17 00:00:00 2001 From: Bart Hakvoort Date: Sun, 23 Jul 2006 10:33:41 +0000 Subject: [PATCH] fixed issue with resize/move of extended partitions * src/GParted_Core.cc: fixed issue with resize/move of extended partitions --- ChangeLog | 5 +++++ src/GParted_Core.cc | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b91b5727..28db5cd8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-07-23 Bart Hakvoort + + * src/GParted_Core.cc: fixed issue with resize/move of extended + partitions + 2006-07-23 Bart Hakvoort * src/Win_GParted.cc: added FIXME: diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc index fe3bfe91..1eacbde0 100644 --- a/src/GParted_Core.cc +++ b/src/GParted_Core.cc @@ -1074,7 +1074,8 @@ bool GParted_Core::resize_move( const Device & device, { //extended is a special case.. 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.. if ( partition_new .sector_start != partition_old .sector_start )