# HG changeset patch # User Jordan Miner # Date 1245122370 18000 # Node ID d806edad4300c307221056ece19e114fd0e2a4e3 # Parent fab13ec910ba28ed08024e6782041a91aaa78c7d Shorten code: ['I', 'V'] -> "IV" diff -r fab13ec910ba -r d806edad4300 dynamin/core/global.d --- a/dynamin/core/global.d Mon Jun 15 22:17:26 2009 -0500 +++ b/dynamin/core/global.d Mon Jun 15 22:19:30 2009 -0500 @@ -202,7 +202,7 @@ "highest convertable roman numeral is 3999"); static combos = [[0][0..0], [0], [0,0], [0,0,0], [0,1], [1], [1,0], [1,0,0], [1,0,0,0], [0,2]]; - static letters = ['I', 'V', 'X', 'L', 'C', 'D', 'M']; + static letters = "IVXLCDM"; string str = ""; int letterOffset = 0; while(num > 0) {