Don't add "F" to floats

git-svn-id: https://svn.code.sf.net/p/jode/code/trunk@424 379699f6-c40d-0410-875b-85095c16579e
stable
jochen 26 years ago
parent 572bd86855
commit e32850d300
  1. 2
      jode/jode/decompiler/Opcodes.java

@ -279,7 +279,7 @@ public abstract class Opcodes implements jode.bytecode.Opcodes {
case opc_fconst_0: case opc_fconst_1: case opc_fconst_2: case opc_fconst_0: case opc_fconst_1: case opc_fconst_2:
return createNormal return createNormal
(ca, addr, 1, new ConstOperator (ca, addr, 1, new ConstOperator
(Type.tFloat, (char) (opcode + ('0'-opc_fconst_0)) + ".0F")); (Type.tFloat, (char) (opcode + ('0'-opc_fconst_0)) + ".0"));
case opc_dconst_0: case opc_dconst_1: case opc_dconst_0: case opc_dconst_1:
return createNormal return createNormal
(ca, addr, 1, new ConstOperator (ca, addr, 1, new ConstOperator

Loading…
Cancel
Save