Issue 822 more small DM fixes from user

git-svn-id: https://zxing.googlecode.com/svn/trunk@1832 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen 2011-06-23 16:18:20 +00:00
parent ce2bfa78f7
commit 1f82b11d01

View file

@ -221,7 +221,7 @@ final class DecodedBitStreamParser {
result.append((char) (cValue + 128)); result.append((char) (cValue + 128));
upperShift = false; upperShift = false;
} else { } else {
result.append(cValue); result.append((char) cValue);
} }
shift = 0; shift = 0;
break; break;
@ -305,7 +305,7 @@ final class DecodedBitStreamParser {
result.append((char) (cValue + 128)); result.append((char) (cValue + 128));
upperShift = false; upperShift = false;
} else { } else {
result.append(cValue); result.append((char) cValue);
} }
shift = 0; shift = 0;
break; break;
@ -320,7 +320,7 @@ final class DecodedBitStreamParser {
result.append(c40char); result.append(c40char);
} }
} else if (cValue == 27) { // FNC1 } else if (cValue == 27) { // FNC1
throw FormatException.getFormatInstance(); // ignore
} else if (cValue == 30) { // Upper Shift } else if (cValue == 30) { // Upper Shift
upperShift = true; upperShift = true;
} else { } else {