Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/jcodings/AbstractEncoding.java
Original file line number Diff line number Diff line change
@@ -115,7 +115,7 @@ int asciiOnlyCaseMap(IntHolder flagP, byte[]bytes, IntHolder pp, int end, byte[]
// specialize for singlebyte ?
int length = length(bytes, pp.value, end);
if (length < 0) return length;
int code = mbcToCode(bytes, pp.value, end) & 0xff;
int code = mbcToCode(bytes, pp.value, end);
pp.value += length;

if (code >= 'a' && code <= 'z' && ((flags & Config.CASE_UPCASE) != 0)) {

0 comments on commit e62366c

Please sign in to comment.