Mercurial > 510ConnectbotMonitor
diff src/com/five_ten_sg/connectbot/monitor/MonitorActivity.java @ 3:2be5bca648ab
switch to static functions
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 23 Jun 2014 17:05:16 -0700 |
parents | f6a1aabf384f |
children | 665324c9716e |
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/monitor/MonitorActivity.java Mon Jun 23 16:57:39 2014 -0700 +++ b/src/com/five_ten_sg/connectbot/monitor/MonitorActivity.java Mon Jun 23 17:05:16 2014 -0700 @@ -68,7 +68,7 @@ private void printer(String msg) { if (count < LINES) count++; else start = (start+1) % LINES; - texts[(start+count-1) % LINES] = s + "\n"; + texts[(start+count-1) % LINES] = msg + "\n"; String c = ""; for (int i=0; i<count; i++) c = c.concat(texts[(start+i) % LINES]); text.setText(c);