Author: aschnell Date: Mon Nov 17 12:40:58 2008 New Revision: 53360 URL: http://svn.opensuse.org/viewcvs/yast?rev=53360&view=rev Log: - renamed variable Modified: trunk/storage/storage/src/include/custom_part_check_generated.ycp Modified: trunk/storage/storage/src/include/custom_part_check_generated.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/include/custom_part_check_generated.ycp?rev=53360&r1=53359&r2=53360&view=diff ============================================================================== --- trunk/storage/storage/src/include/custom_part_check_generated.ycp (original) +++ trunk/storage/storage/src/include/custom_part_check_generated.ycp Mon Nov 17 12:40:58 2008 @@ -18,8 +18,6 @@ * ************************************************************* - $Id$ - */ { import "Arch"; @@ -73,7 +71,7 @@ boolean root_lvm = false; symbol root_fs = `unknown; symbol boot_fs = `unknown; - integer boot_size = 0; + integer boot_size_k = 0; boolean boot_size_check = !(Arch::board_chrp() || Arch::board_prep() || Arch::board_iseries() || Arch::board_mac()); integer root_cyl_for_gb = 0; integer boot_cyl_for_gb = 0; @@ -146,7 +144,7 @@ boot_cyl_for_gb = 0; } boot_fs = part["used_fs"]:`unknown; - boot_size = part["size_k"]:0*1024; + boot_size_k = part["size_k"]:0; if ( id_sw_raid_dev ) boot_raid = true; raid_type = part["raid_type"]:""; } @@ -159,7 +157,7 @@ boot_end = part["region",0]:0 + part["region",1]:1-1; boot_fs = part["used_fs"]:`unknown; boot_cyl_for_gb = 1073741824 / diskinfo["cyl_size"]:1000000; - boot_size = part["size_k"]:0*1024; + boot_size_k = part["size_k"]:0; } else if( Arch::board_mac() && part["used_fs"]:`unknown==`hfs ) { @@ -167,7 +165,7 @@ boot_end = part["region",0]:0 + part["region",1]:1-1; boot_fs = part["used_fs"]:`unknown; boot_cyl_for_gb = 1073741824 / diskinfo["cyl_size"]:1000000; - boot_size = part["size_k"]:0*1024; + boot_size_k = part["size_k"]:0; } } @@ -320,7 +318,7 @@ } - if ( (boot_size < 12*1024*1024 && boot_size_check) || show_all_popups ) + if ( (boot_size_k < 12*1024 && boot_size_check) || show_all_popups ) { // popup text boolean ret = Popup::YesNo(_("Warning: -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org