From 5fd477dbc7e4b72d8c70ea80863abdcdd4228fd7 Mon Sep 17 00:00:00 2001 From: Marc Baloup Date: Sat, 27 Dec 2014 10:19:42 -0500 Subject: [PATCH] =?UTF-8?q?Correction=20d'un=20bug=20de=20caract=C3=A8res?= =?UTF-8?q?=20sp=C3=A9ciaux?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/net/mc_pandacraft/java/util/JArithmeticInterpreter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/mc_pandacraft/java/util/JArithmeticInterpreter.java b/src/net/mc_pandacraft/java/util/JArithmeticInterpreter.java index a81f04e..ff8e6f9 100644 --- a/src/net/mc_pandacraft/java/util/JArithmeticInterpreter.java +++ b/src/net/mc_pandacraft/java/util/JArithmeticInterpreter.java @@ -599,7 +599,7 @@ public class JArithmeticInterpreter { signe=-1; i++; } - if (chaine.charAt(i)=='�') return signe*Math.PI; // TODO changer le caractère non reconnu + if (chaine.charAt(i)=='π') return signe*Math.PI; while (i47 && chaine.charAt(i)<58) { temp=temp*10+(chaine.charAt(i)-48);