Ensure default partition alignment is mebibyte

This commit is contained in:
Curtis Gedak 2010-09-08 16:29:21 -06:00
parent 4d4096617e
commit c17df56af0
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ Partition Dialog_Base_Partition::Get_New_Partition( Byte_Value sector_size )
case 1 : selected_partition .alignment = ALIGN_MEBIBYTE; break; case 1 : selected_partition .alignment = ALIGN_MEBIBYTE; break;
case 2 : selected_partition .alignment = ALIGN_STRICT; break; case 2 : selected_partition .alignment = ALIGN_STRICT; break;
default : selected_partition .alignment = ALIGN_CYLINDER ; default : selected_partition .alignment = ALIGN_MEBIBYTE ;
} }
selected_partition .free_space_before = Sector(spinbutton_before .get_value_as_int()) * (MEBIBYTE / sector_size) ; selected_partition .free_space_before = Sector(spinbutton_before .get_value_as_int()) * (MEBIBYTE / sector_size) ;