[Megameknet-cvs] MegaMekNET/src/client CAddToChat.java,1.2,1.3
Status: Inactive
Brought to you by:
mcwizard
From: Immanuel S. <im...@us...> - 2005-04-09 09:47:59
|
Update of /cvsroot/megameknet/MegaMekNET/src/client In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5552/src/client Modified Files: CAddToChat.java Log Message: Cyclops changes and some minor corrections to the xml loading Index: CAddToChat.java =================================================================== RCS file: /cvsroot/megameknet/MegaMekNET/src/client/CAddToChat.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** CAddToChat.java 14 Mar 2005 11:45:50 -0000 1.2 --- CAddToChat.java 9 Apr 2005 09:47:45 -0000 1.3 *************** *** 110,114 **** } ! MessageFormat mf = new MessageFormat(input.toString()); mf.format(parameter.toArray(), input = new StringBuffer(), null); if (client.getConfigParam("BEAUTIFIER").equalsIgnoreCase("DEBUG")) --- 110,117 ---- } ! String inputStr = input.toString(); ! inputStr.replaceAll("\\{", "b;"); ! inputStr.replaceAll("\\}", "d;"); ! MessageFormat mf = new MessageFormat(inputStr); mf.format(parameter.toArray(), input = new StringBuffer(), null); if (client.getConfigParam("BEAUTIFIER").equalsIgnoreCase("DEBUG")) |