Skip to content

Commit

Permalink
fixed files form Lang #6
Browse files Browse the repository at this point in the history
  • Loading branch information
tdurieux committed Mar 7, 2017
1 parent 470ebcf commit a358f83
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public final void translate(CharSequence input, Writer out) throws IOException {
// // contract with translators is that they have to understand codepoints
// // and they just took care of a surrogate pair
for (int pt = 0; pt < consumed; pt++) {
pos += Character.charCount(Character.codePointAt(input, pos));
pos += Character.charCount(Character.codePointAt(input, pt));
}
}
}
Expand Down

0 comments on commit a358f83

Please sign in to comment.