Fix short by 1 MiB on spinbutton before with resize/move
This commit is contained in:
parent
afb1ba8a37
commit
24d96114ca
|
@ -142,8 +142,7 @@ void Dialog_Partition_Resize_Move::Resize_Move_Normal( const std::vector<Partiti
|
|||
, TOTAL_MB - ceil( fs .MIN / double(MEBIBYTE) )
|
||||
) ;
|
||||
spinbutton_before .set_value(
|
||||
Utils::round( Utils::sector_to_unit( previous, selected_partition .sector_size, UNIT_MIB ) )
|
||||
- MIN_SPACE_BEFORE_MB ) ;
|
||||
Utils::round( Utils::sector_to_unit( previous, selected_partition .sector_size, UNIT_MIB ) ) ) ;
|
||||
}
|
||||
|
||||
//set values of spinbutton_size
|
||||
|
|
Loading…
Reference in New Issue