diff src/com/five_ten_sg/connectbot/service/TerminalMonitor.java @ 142:e66667cc2473

test setfield() cursor movement always sets the field contents
author Carl Byington <carl@five-ten-sg.com>
date Sat, 21 Jun 2014 07:32:20 -0700
parents 13cea57ac61e
children 4dfa4dd791c1
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/service/TerminalMonitor.java	Sat Jun 21 07:30:09 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/service/TerminalMonitor.java	Sat Jun 21 07:32:20 2014 -0700
@@ -371,7 +371,7 @@
         for (i = 0; i < da.length; i++) {
             da[i] = data[i + offset];
         }
-        if (da.length == 0) da = new char[] {" "};
+        if (da.length == 0) da = new char[] {' '};
         buffer.setField(l, c, da);
     }