Author: aschnell Date: Fri Mar 21 14:04:35 2008 New Revision: 45672 URL: http://svn.opensuse.org/viewcvs/yast?rev=45672&view=rev Log: - use tostring Modified: branches/tmp/aschnell/part-redesign/storage/src/modules/StorageFields.ycp Modified: branches/tmp/aschnell/part-redesign/storage/src/modules/StorageFields.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/aschnell/part-redesign/storage/src/modules/StorageFields.ycp?rev=45672&r1=45671&r2=45672&view=diff ============================================================================== --- branches/tmp/aschnell/part-redesign/storage/src/modules/StorageFields.ycp (original) +++ branches/tmp/aschnell/part-redesign/storage/src/modules/StorageFields.ycp Fri Mar 21 14:04:35 2008 @@ -469,9 +469,9 @@ string value = "--"; if (Storage::IsPartitionable(disk)) { if (part == nil) - value = sformat("%1", 0); + value = tostring(0); else - value = sformat("%1", part["region", 0]:0); + value = tostring(part["region", 0]:0); } if (style == `table) return value; @@ -484,9 +484,9 @@ string value = "--"; if (Storage::IsPartitionable(disk)) { if (part == nil) - value = sformat("%1", disk["cyl_count"]:0 - 1); + value = tostring(disk["cyl_count"]:0 - 1); else - value = sformat("%1", part["region", 0]:0 + part["region", 1]:0 - 1); + value = tostring(part["region", 0]:0 + part["region", 1]:0 - 1); } if (style == `table) return value; -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org