From: <mar...@us...> - 2013-09-20 03:17:25
|
Revision: 103 http://sourceforge.net/p/openrpg/svn/103 Author: markt1964 Date: 2013-09-20 03:17:23 +0000 (Fri, 20 Sep 2013) Log Message: ----------- Fixed logical error in ProdExpr where details would always show "*" even when there was only one factor in the expression Modified Paths: -------------- trunk/src/openrpg2/common/dice/ProdExpr.java Modified: trunk/src/openrpg2/common/dice/ProdExpr.java =================================================================== --- trunk/src/openrpg2/common/dice/ProdExpr.java 2013-09-18 23:07:11 UTC (rev 102) +++ trunk/src/openrpg2/common/dice/ProdExpr.java 2013-09-20 03:17:23 UTC (rev 103) @@ -134,6 +134,7 @@ { result.append('('); } + product = false; for(DiceExpression j:denominator) { if (product) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |