Mercurial > 510Connectbot
changeset 404:ec74f347ab5f
fix bad args to arrays.fill(); bump version number
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Tue, 21 Oct 2014 13:11:59 -0700 |
parents | fa6c9ab5a5e2 |
children | d3c5480e8441 |
files | AndroidManifest.xml src/com/five_ten_sg/connectbot/service/TerminalMonitor.java |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/AndroidManifest.xml Mon Oct 20 19:17:51 2014 -0700 +++ b/AndroidManifest.xml Tue Oct 21 13:11:59 2014 -0700 @@ -17,8 +17,8 @@ --> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.five_ten_sg.connectbot" - android:versionName="1.9.0-6" - android:versionCode="1906" + android:versionName="1.9.0-7" + android:versionCode="1907" android:installLocation="auto"> <uses-sdk android:targetSdkVersion="15" android:minSdkVersion="8" />
--- a/src/com/five_ten_sg/connectbot/service/TerminalMonitor.java Mon Oct 20 19:17:51 2014 -0700 +++ b/src/com/five_ten_sg/connectbot/service/TerminalMonitor.java Tue Oct 21 13:11:59 2014 -0700 @@ -451,8 +451,8 @@ arg2[3] = (char)(c & 0x0000ffff); int base = 4; - if ((l >= buffer.height) || (c + len >= buffer.width)) { - Arrays.fill(arg2, base, len - 1, ' '); + if ((l >= buffer.height) || (c + len > buffer.width)) { + Arrays.fill(arg2, base, base + len, ' '); } else { System.arraycopy(buffer.charArray[buffer.screenBase + l], c, arg2, base, len);