OSDN Git Service

Avoid going off end of offset array when going from width 2 to 1 at end of line
authorSteven Luo <steven+android@steven676.net>
Tue, 11 Oct 2011 10:04:06 +0000 (03:04 -0700)
committerJack Palevich <jackpal@google.com>
Sat, 22 Oct 2011 02:39:51 +0000 (19:39 -0700)
commit5dc7ae591c876bcbd8454a3280b0f5a3d054691b
tree775c5aa49c15ed55e48704bd610a5c0b8e4626d5
parentba857043b110bb76d2cf37855b939ce9603796ec
Avoid going off end of offset array when going from width 2 to 1 at end of line

Why this is happening is somewhat puzzling in the first place (since a
width 2 character doesn't fit at the end of the line), but this prevents
a crash.

Signed-off-by: Jack Palevich <jackpal@google.com>
src/jackpal/androidterm/util/UnicodeTranscript.java