fix minor issue in deserializer

This commit is contained in:
Eric Vergnaud 2019-08-24 01:44:53 +08:00
parent 32470dbab4
commit badee1ffe1
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ ATNDeserializer.prototype.deserialize = function(data) {
ATNDeserializer.prototype.reset = function(data) {
var adjust = function(c) {
var v = c.charCodeAt(0);
return v>1 ? v-2 : v + 65533;
return v>1 ? v-2 : v + 65534;
};
var temp = data.split("").map(adjust);
// don't adjust the first value since that's the version number