- Adding braces.

This commit is contained in:
Chris
2012-06-11 10:42:23 +00:00
parent a74bc1d773
commit 2d402dbd45

View File

@@ -233,8 +233,9 @@ public class CardFaceSymbols {
*/
public static int getWidth(final CardManaCost manaCost) {
int width = manaCost.getShards().size();
if (manaCost.getGenericCost() > 0 || (manaCost.getGenericCost() == 0 && width == 0))
if (manaCost.getGenericCost() > 0 || (manaCost.getGenericCost() == 0 && width == 0)) {
width++;
}
//System.out.println(String.format("%d for %s", width, manaCost.toString()));
return width * 14;