From: <th...@us...> - 2009-01-06 23:29:19
|
Revision: 8902 http://pcgen.svn.sourceforge.net/pcgen/?rev=8902&view=rev Author: thpr Date: 2009-01-06 23:29:16 +0000 (Tue, 06 Jan 2009) Log Message: ----------- include NUMCHOICES= in CHOOSE: unparse Modified Paths: -------------- Trunk/pcgen/code/src/java/plugin/lsttokens/ChooseLst.java Modified: Trunk/pcgen/code/src/java/plugin/lsttokens/ChooseLst.java =================================================================== --- Trunk/pcgen/code/src/java/plugin/lsttokens/ChooseLst.java 2009-01-06 23:28:42 UTC (rev 8901) +++ Trunk/pcgen/code/src/java/plugin/lsttokens/ChooseLst.java 2009-01-06 23:29:16 UTC (rev 8902) @@ -102,7 +102,8 @@ return null; } Formula choices = context.obj.getFormula(obj, FormulaKey.NUMCHOICES); - String choicesString = choices == null ? null : choices.toString(); + String choicesString = choices == null ? null : "NUMCHOICES=" + + choices.toString() + Constants.PIPE; for (int i = 0; i < str.length; i++) { if (str[i].endsWith(Constants.PIPE)) @@ -111,7 +112,7 @@ } if (choicesString != null) { - str[i] = choicesString + Constants.PIPE + str[i]; + str[i] = choicesString + str[i]; } if (str[i].startsWith("FEAT|")) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |