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.
This commit is contained in:
Bart Hakvoort 2005-01-11 21:18:15 +00:00
parent 6de4fdd188
commit 479f0eb4ec
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-01-11 Bart Hakvoort <hakvoort@cvs.gnome.org>
* src/Win_GParted.cc: activate_convert used old filesystem instead of new one for checks. fixed.
2005-01-09 Bart Hakvoort <hakvoort@cvs.gnome.org>
* include/Win_GParted.h,

View File

@ -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 ) )
{