From 479f0eb4ec4a748b58a0724f71bda156caa02dc2 Mon Sep 17 00:00:00 2001 From: Bart Hakvoort Date: Tue, 11 Jan 2005 21:18:15 +0000 Subject: [PATCH] activate_convert used old filesystem instead of new one for checks. fixed. * src/Win_GParted.cc: activate_convert used old filesystem instead of new one for checks. fixed. --- ChangeLog | 4 ++++ src/Win_GParted.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3e20e359..9f236a2a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-01-11 Bart Hakvoort + + * src/Win_GParted.cc: activate_convert used old filesystem instead of new one for checks. fixed. + 2005-01-09 Bart Hakvoort * include/Win_GParted.h, diff --git a/src/Win_GParted.cc b/src/Win_GParted.cc index d1a55542..af5f8577 100644 --- a/src/Win_GParted.cc +++ b/src/Win_GParted.cc @@ -1042,7 +1042,7 @@ void Win_GParted::activate_convert( const Glib::ustring & new_fs ) dialog .hide( ) ;//i want to be sure the dialog is gone _before_ operationslist shows up (only matters if first operation) //check for some limits... - fs = gparted_core .get_fs( selected_partition .filesystem ) ; + fs = gparted_core .get_fs( new_fs ) ; if ( selected_partition .Get_Length_MB( ) < fs .MIN || ( fs .MAX && selected_partition .Get_Length_MB( ) > fs .MAX ) ) {