Mercurial > hg > Members > riono > TreeVNC_ja_comment
changeset 108:1bceae0f5bd3
save ScreenChangeRequest.java
author | oc |
---|---|
date | Fri, 23 May 2014 17:57:27 +0900 |
parents | 660b296d4f75 |
children | 457f9dfbf7ce |
files | src/main/java/jp/ac/u_ryukyu/treevnc/ScreenChangeRequest.java |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/jp/ac/u_ryukyu/treevnc/ScreenChangeRequest.java Fri May 23 17:56:42 2014 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/treevnc/ScreenChangeRequest.java Fri May 23 17:57:27 2014 +0900 @@ -25,7 +25,8 @@ @Override public void send(Writer writer) throws TransportException { writer.write(SERVER_CHANGE_REQUEST); - writer.writeByte(0); writer.writeInt16(0); // padding + writer.writeByte(0); + writer.writeInt16(0); // padding writer.write(bytes.length); writer.write(bytes); // TODO: [dime] convert 'text' String to byte arrya using right charset writer.flush();