Commit 9776d888 authored by Joost Rijneveld's avatar Joost Rijneveld

Changed promptChar to use codePointAt rather than ByteBuffer.

parent 306ed35b
......@@ -683,13 +683,7 @@ public class SSMRunner extends JFrame
if (s.length() == 0) {
continue;
}
byte[] b = {};
try {
b = s.getBytes("UTF-32BE");
} catch (UnsupportedEncodingException e) {
println("Error: UTF-32 encoding missing.");
}
return ByteBuffer.wrap(b).getInt();
return s.codePointAt(0);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment