[gparted] Ensure default partition alignment is mebibyte



commit c17df56af03f7077e57da04d6a082cb7182b62ac
Author: Curtis Gedak <gedakc gmail com>
Date:   Wed Sep 8 16:29:21 2010 -0600

    Ensure default partition alignment is mebibyte

 src/Dialog_Base_Partition.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/Dialog_Base_Partition.cc b/src/Dialog_Base_Partition.cc
index 3dca4cf..c5c283f 100644
--- a/src/Dialog_Base_Partition.cc
+++ b/src/Dialog_Base_Partition.cc
@@ -174,7 +174,7 @@ Partition Dialog_Base_Partition::Get_New_Partition( Byte_Value sector_size )
 		case  1 :  selected_partition .alignment = ALIGN_MEBIBYTE;  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) ;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]