comparison src/de/mud/terminal/vt320.java @ 112:77ac18bc1b2f

cleanup java formatting
author Carl Byington <carl@five-ten-sg.com>
date Wed, 18 Jun 2014 13:03:01 -0700
parents 171e0a977544
children 69333ca1563c
comparison
equal deleted inserted replaced
111:6a0ad4d384ea 112:77ac18bc1b2f
70 */ 70 */
71 public void setField(int l, int c, char [] d) { 71 public void setField(int l, int c, char [] d) {
72 // ignore line and column, just send the bytes to the host. 72 // ignore line and column, just send the bytes to the host.
73 int n = d.length; 73 int n = d.length;
74 byte [] b = new byte [n]; 74 byte [] b = new byte [n];
75 for (int i=0; i<n; i++) b[i] = (byte)(d[i] & 0x00ff); 75
76 for (int i = 0; i < n; i++) b[i] = (byte)(d[i] & 0x00ff);
77
76 write(b); 78 write(b);
77 } 79 }
78 80
79 /** 81 /**
80 * Play the beep sound ... 82 * Play the beep sound ...