changeset 101:f0ec55006f31

finish setField()
author Carl Byington <carl@five-ten-sg.com>
date Tue, 17 Jun 2014 15:59:20 -0700
parents 9204fe526e65
children 6802f1cd1add
files src/com/five_ten_sg/connectbot/service/TerminalMonitor.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/service/TerminalMonitor.java	Tue Jun 17 15:57:18 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/service/TerminalMonitor.java	Tue Jun 17 15:59:20 2014 -0700
@@ -361,7 +361,7 @@
 
     public synchronized void setField(int l, int c, char[] data, int offset) {
         Log.i(TAG, "setField()");
-        char[] da = new byte[data.length - offset];
+        char[] da = new char[data.length - offset];
         int i;
         for (i=0; i<da.length; i++) {
             da[i] = data[i+offset];