Mailinglist Archive: yast-commit (595 mails)

< Previous Next >
[yast-commit] r54311 - /trunk/storage/storage/src/modules/StorageFields.ycp
  • From: aschnell@xxxxxxxxxxxxxxxx
  • Date: Sat, 20 Dec 2008 13:41:07 -0000
  • Message-id: <E1LE24p-0007np-Ag@xxxxxxxxxxxxxxxx>
Author: aschnell
Date: Sat Dec 20 14:41:07 2008
New Revision: 54311

URL: http://svn.opensuse.org/viewcvs/yast?rev=54311&view=rev
Log:
- use Region::Start/End

Modified:
trunk/storage/storage/src/modules/StorageFields.ycp

Modified: trunk/storage/storage/src/modules/StorageFields.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/storage/storage/src/modules/StorageFields.ycp?rev=54311&r1=54310&r2=54311&view=diff
==============================================================================
--- trunk/storage/storage/src/modules/StorageFields.ycp (original)
+++ trunk/storage/storage/src/modules/StorageFields.ycp Sat Dec 20 14:41:07 2008
@@ -18,6 +18,7 @@
import "HTML";
import "Integer";
import "String";
+ import "Region";


/**
@@ -785,7 +786,7 @@
if (part == nil)
value = tostring(0);
else
- value = tostring(part["region", 0]:0);
+ value = tostring(Region::Start(part["region"]:[]));
}
if (style == `table)
return value;
@@ -801,7 +802,7 @@
if (part == nil)
value = tostring(disk["cyl_count"]:0 - 1);
else
- value = tostring(part["region", 0]:0 + part["region",
1]:0 - 1);
+ value = tostring(Region::End(part["region"]:[]));
}
if (style == `table)
return value;

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages