From: Carsten W. <ca...@us...> - 2004-10-21 03:33:04
|
Update of /cvsroot/jake2/jake2/src/jake2/game In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1530/src/jake2/game Modified Files: Info.java Log Message: i think it is clearer Index: Info.java =================================================================== RCS file: /cvsroot/jake2/jake2/src/jake2/game/Info.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Info.java 22 Sep 2004 19:22:03 -0000 1.4 --- Info.java 21 Oct 2004 03:32:53 -0000 1.5 *************** *** 148,156 **** */ public static boolean Info_Validate(String s) { ! if (s.indexOf('"') != -1) ! //return false; ! if (s.indexOf(';') != -1) ! return false; ! return true; } --- 148,152 ---- */ public static boolean Info_Validate(String s) { ! return !((s.indexOf('"') != -1) || (s.indexOf(';') != -1)); } |